Fix --help description for all binaries
This commit is contained in:
+1
-5
@@ -22,11 +22,7 @@ use roowho2_lib::server::varlink_api::VarlinkFingerClientProxy;
|
||||
/// If standard output is a socket, finger will emit a carriage return (^M) before every linefeed (^J).
|
||||
/// This is for processing remote finger requests when invoked by the daemon.
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(
|
||||
author = "Programvareverkstedet <projects@pvv.ntnu.no>",
|
||||
about,
|
||||
version
|
||||
)]
|
||||
#[command(author = "Programvareverkstedet <projects@pvv.ntnu.no>", version)]
|
||||
pub struct Args {
|
||||
/// Forces finger to use IPv4 addresses only.
|
||||
#[arg(long, short = '4', conflicts_with = "ipv6")]
|
||||
|
||||
+1
-5
@@ -6,11 +6,7 @@ use clap::Parser;
|
||||
/// The output shows the current time of day, how long the system has been up, and the load averages.
|
||||
/// The load average numbers give the number of jobs in the run queue averaged over 1, 5 and 15 minutes.
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(
|
||||
author = "Programvareverkstedet <projects@pvv.ntnu.no>",
|
||||
about,
|
||||
version,
|
||||
)]
|
||||
#[command(author = "Programvareverkstedet <projects@pvv.ntnu.no>", version)]
|
||||
pub struct Args {
|
||||
/// The hosts to query.
|
||||
hosts: Vec<String>,
|
||||
|
||||
+1
-5
@@ -12,11 +12,7 @@ use roowho2_lib::{proto::WhodStatusUpdate, server::varlink_api::VarlinkRwhodClie
|
||||
///
|
||||
/// Machines for which no status report has been received for 11 minutes are shown as being down.
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(
|
||||
author = "Programvareverkstedet <projects@pvv.ntnu.no>",
|
||||
about,
|
||||
version
|
||||
)]
|
||||
#[command(author = "Programvareverkstedet <projects@pvv.ntnu.no>", version)]
|
||||
pub struct Args {
|
||||
/// Users idle an hour or more are not counted unless the `-a` flag is given.
|
||||
#[arg(long, short)]
|
||||
|
||||
+1
-5
@@ -8,11 +8,7 @@ use clap::Parser;
|
||||
/// the host-name with the names of the users currently logged on is printed on each line.
|
||||
/// The `rusers` command will wait for one minute to catch late responders.
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(
|
||||
author = "Programvareverkstedet <projects@pvv.ntnu.no>",
|
||||
about,
|
||||
version,
|
||||
)]
|
||||
#[command(author = "Programvareverkstedet <projects@pvv.ntnu.no>", version)]
|
||||
pub struct Args {
|
||||
/// Print all machines responding even if no one is currently logged in
|
||||
#[arg(long, short)]
|
||||
|
||||
+1
-5
@@ -5,11 +5,7 @@ use clap::Parser;
|
||||
/// The `rwall` command sends a message to the users logged into the specified host.
|
||||
/// The message to be sent can be typed in and terminated with EOF or it can be in a file
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(
|
||||
author = "Programvareverkstedet <projects@pvv.ntnu.no>",
|
||||
about,
|
||||
version,
|
||||
)]
|
||||
#[command(author = "Programvareverkstedet <projects@pvv.ntnu.no>", version)]
|
||||
pub struct Args {
|
||||
/// The host to send the message to
|
||||
host: String,
|
||||
|
||||
+1
-5
@@ -13,11 +13,7 @@ use roowho2_lib::{proto::WhodUserEntry, server::varlink_api::VarlinkRwhodClientP
|
||||
/// If a user hasn't typed to the system for an hour or more,
|
||||
/// then the user will be omitted from the output of `rwho` unless the `-a` flag is given.
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(
|
||||
author = "Programvareverkstedet <projects@pvv.ntnu.no>",
|
||||
about,
|
||||
version
|
||||
)]
|
||||
#[command(author = "Programvareverkstedet <projects@pvv.ntnu.no>", version)]
|
||||
pub struct Args {
|
||||
/// Print all machines responding even if no one is currently logged in
|
||||
#[arg(long, short)]
|
||||
|
||||
Reference in New Issue
Block a user