From 74777016affb7fc4245f826ca67ad964a928132c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 15 Mar 2008 10:20:24 +0100 Subject: [PATCH] Documente existing -c option of awesome-menu --- awesome-menu.1.txt | 4 +++- awesome-menu.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/awesome-menu.1.txt b/awesome-menu.1.txt index ca334d71..2009361e 100644 --- a/awesome-menu.1.txt +++ b/awesome-menu.1.txt @@ -9,7 +9,7 @@ awesome-menu - awesome menu system SYNOPSIS -------- -awesome-menu [-e command] +awesome-menu [-c config] [-e command] <title> DESCRIPTION ----------- @@ -42,6 +42,8 @@ You can do things like that: OPTIONS ------- +-c config:: + Use an alternate configuration file instead of $HOME/.awesomerc. -e command:: Command to execute. The result is appended to the end of this command (like xargs). <title>:: diff --git a/awesome-menu.c b/awesome-menu.c index 43967a4b..62c123d8 100644 --- a/awesome-menu.c +++ b/awesome-menu.c @@ -109,7 +109,7 @@ static void __attribute__ ((noreturn)) exit_help(int exit_code) { FILE *outfile = (exit_code == EXIT_SUCCESS) ? stdout : stderr; - fprintf(outfile, "Usage: %s [-e command] <message>\n", + fprintf(outfile, "Usage: %s [-c config] [-e command] <message>\n", PROGNAME); exit(exit_code); }