Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: fix adveristing file extension on windows #203818

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions cli/src/commands/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ use clap::{Args, Parser, Subcommand, ValueEnum};
use const_format::concatcp;

const CLI_NAME: &str = concatcp!(constants::PRODUCT_NAME_LONG, " CLI");
const HELP_COMMANDS: &str = "Usage: {name} [options][paths...]
const HELP_COMMANDS: &str = concatcp!(
"Usage: ",
constants::APPLICATION_NAME,
" [options][paths...]

To read output from another program, append '-' (e.g. 'echo Hello World | {name} -')";
To read output from another program, append '-' (e.g. 'echo Hello World | {name} -')"
);

const STANDALONE_TEMPLATE: &str = concatcp!(
CLI_NAME,
Expand Down