Skip to content

Commit 52d299d

Browse files
committed
Add alias '-s' for quiet mode
1 parent d35d43d commit 52d299d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: ARRCON/Help.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct Help {
3838
<< " -h --help Show the help display, then exit." << '\n'
3939
<< " -v --version Print the current version number, then exit." << '\n'
4040
<< " -t -i --interactive Always use interactive terminal mode. Any one-off commands are executed first." << '\n'
41-
<< " -q --quiet Don't print server response packets." << '\n'
41+
<< " -q -s --quiet Silent mode, prevents most console output from being printed." << '\n'
4242
<< " -w <ms> --wait <ms> Time in milliseconds to wait between each command in commandline mode." << '\n'
4343
<< " -n --no-color Disable colorized console output." << '\n'
4444
<< " -Q --no-prompt Disables the prompt in interactive mode, and command echo in commandline mode." << '\n'

Diff for: ARRCON/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ int main(const int argc, char** argv)
267267
const config::Locator cfg_path(myDir, myNameNoExt);
268268

269269
// Argument: [-q|--quiet]
270-
Global.quiet = args.check_any<opt::Option, opt::Flag>('q', "quiet");
270+
Global.quiet = args.check_any<opt::Option, opt::Flag>('q', 's', "quiet");
271271
// Argument: [-h|--help]
272272
if (args.check_any<opt::Flag, opt::Option>('h', "help")) {
273273
std::cout << Help(myName) << std::endl;

0 commit comments

Comments
 (0)