summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-04-07 12:33:22 +0200
committerDaniel Lange <DLange@git.local>2022-04-07 12:33:22 +0200
commitdf955c8991949334c72d33c8349646d4301edbce (patch)
tree35e0b7089deb2b51c4db3c913a537b591cb0a71e
parent6a7b3fdc7dde654dbafd873d19b38369aba3b1bb (diff)
Make CLANG happy (-Wembedded-directive)
-rw-r--r--CommandLine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/CommandLine.c b/CommandLine.c
index d7f5f1e3..bee46495 100644
--- a/CommandLine.c
+++ b/CommandLine.c
@@ -53,17 +53,17 @@ static void printHelpFlag(const char* name) {
"-d --delay=DELAY Set the delay between updates, in tenths of seconds\n"
"-F --filter=FILTER Show only the commands matching the given filter\n"
"-h --help Print this help screen\n"
- "-H --highlight-changes[=DELAY] Highlight new and old processes\n"
+ "-H --highlight-changes[=DELAY] Highlight new and old processes\n", name);
#ifdef HAVE_GETMOUSE
- "-M --no-mouse Disable the mouse\n"
+ printf("-M --no-mouse Disable the mouse\n");
#endif
- "-p --pid=PID[,PID,PID...] Show only the given PIDs\n"
+ printf("-p --pid=PID[,PID,PID...] Show only the given PIDs\n"
" --readonly Disable all system and process changing features\n"
"-s --sort-key=COLUMN Sort by COLUMN in list view (try --sort-key=help for a list)\n"
"-t --tree Show the tree view (can be combined with -s)\n"
"-u --user[=USERNAME] Show only processes for a given user (or $USER)\n"
"-U --no-unicode Do not use unicode but plain ASCII\n"
- "-V --version Print version info\n", name);
+ "-V --version Print version info\n");
Platform_longOptionsUsage(name);
printf("\n"
"Long options may be passed with a single dash.\n\n"

© 2014-2024 Faster IT GmbH | imprint | privacy policy