Add --version flags and more to all binaries
Build and test / check (push) Successful in 1m8s
Build and test / test (push) Successful in 1m46s
Build and test / build (push) Successful in 2m12s
Build and test / docs (push) Successful in 3m18s

This commit is contained in:
2026-01-06 11:48:26 +09:00
parent f0e22fc85c
commit 1aca5d47e3
7 changed files with 36 additions and 1 deletions
+5
View File
@@ -8,6 +8,11 @@ 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,
)]
pub struct Args {
/// Print all machines responding even if no one is currently logged in
#[arg(long, short)]