From: Jean-Philippe Orsini Date: Sat, 14 May 2011 07:37:34 +0000 (+0000) Subject: fixed usage X-Git-Tag: v1.3.0~175 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ppastats.git;a=commitdiff_plain;h=d6abb0374802fe8f7941d3ddf6677554c06c63e9 fixed usage added description information --- diff --git a/src/main.c b/src/main.c index 4cd5bab..bf46ab2 100644 --- a/src/main.c +++ b/src/main.c @@ -80,11 +80,14 @@ There is NO WARRANTY, to the extent permitted by law.\n", static void print_help() { - printf("Usage: %s [OPTION]...\n", program_name); + printf("Usage: %s [OPTION]... PPA_OWNER PPA_NAME\n", program_name); puts("ppastats is a command application" " for generating PPA statistics."); + puts("Prints number of downloads for each published packages of a PPA " + "or generates an HTML containing a graph representation."); + puts(""); puts("Options:"); puts("\