X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fudev%2Fcollect%2Fcollect.c;fp=src%2Fudev%2Fcollect%2Fcollect.c;h=4bb6edbef11da04c35b3099b2a664e6e8f3fb4a3;hb=5ac0162c3af95efa08a07b84ff62ad32842922c7;hp=11a618c8e24e8aaf94e701bb646b6dd4a51cbfd7;hpb=00b4ffdecbb39d849af65c0ab741be482325a4a9;p=elogind.git diff --git a/src/udev/collect/collect.c b/src/udev/collect/collect.c index 11a618c8e..4bb6edbef 100644 --- a/src/udev/collect/collect.c +++ b/src/udev/collect/collect.c @@ -68,17 +68,19 @@ noreturn static void sig_alrm(int signo) static void usage(void) { - printf("Usage: collect [options] \n" - " -a,--add add ID to the list \n" - " -r,--remove remove ID from the list \n" - " -d,--debug debug to stderr\n" - " -h,--help print this help text\n\n" + printf("%s [options] \n\n" + "Collect variables across events.\n\n" + " -h --help Print this message\n" + " -a --add Add ID to the list \n" + " -r --remove Remove ID from the list \n" + " -d --debug Debug to stderr\n\n" " Adds ID to the list governed by .\n" " must be part of the list .\n" " If all IDs given by are listed (ie collect has been\n" " invoked for each ID in ) collect returns 0, the\n" " number of missing IDs otherwise.\n" - " On error a negative number is returned.\n\n"); + " On error a negative number is returned.\n\n" + , program_invocation_short_name); } /*