Make CLANG happy (-Wembedded-directive)

This commit is contained in:
Daniel Lange 2022-04-07 12:33:22 +02:00
parent 6a7b3fdc7d
commit df955c8991
1 changed files with 4 additions and 4 deletions

View File

@ -53,17 +53,17 @@ static void printHelpFlag(const char* name) {
"-d --delay=DELAY Set the delay between updates, in tenths of seconds\n" "-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" "-F --filter=FILTER Show only the commands matching the given filter\n"
"-h --help Print this help screen\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 #ifdef HAVE_GETMOUSE
"-M --no-mouse Disable the mouse\n" printf("-M --no-mouse Disable the mouse\n");
#endif #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" " --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" "-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" "-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 --user[=USERNAME] Show only processes for a given user (or $USER)\n"
"-U --no-unicode Do not use unicode but plain ASCII\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); Platform_longOptionsUsage(name);
printf("\n" printf("\n"
"Long options may be passed with a single dash.\n\n" "Long options may be passed with a single dash.\n\n"