finger: add (but don't implement) --raw flag
Build and test / check (push) Successful in 1m3s
Build and test / build (push) Successful in 1m32s
Build and test / test (push) Successful in 2m3s
Build and test / docs (push) Successful in 3m28s

This commit is contained in:
2026-04-29 06:12:14 +09:00
parent ff38ea3a35
commit 02279a9225
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -117,6 +117,13 @@ pub struct Args {
#[arg(long, short)]
json: bool,
/// When fingering remote users, don't try to parse the content before displaying it,
/// but instead just print the bytes as they are received from the remote.
///
/// Note that this option makes it impossible to represent remote users as JSON.
#[arg(long, short, conflicts_with = "json")]
raw: bool,
/// Generate shell completion scripts for the specified shell
/// and print them to stdout.
#[arg(long, value_enum, hide = true)]
@@ -182,6 +189,7 @@ async fn main() -> anyhow::Result<()> {
request_info,
request_networking,
args.no_acct,
args.raw,
)
.await
.context("Failed to send finger request")?