diff options
author | Avuton Olrich <avuton@gmail.com> | 2009-02-25 15:34:57 -0800 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2009-02-25 15:34:57 -0800 |
commit | 1b79449ef13086790082eec18e9a25f784a6dc00 (patch) | |
tree | 237de140f1d1a2baa565093d240267307f354d5c | |
parent | de075474268d07a8a3232b4ab817181072ef3515 (diff) | |
download | mpd-1b79449ef13086790082eec18e9a25f784a6dc00.tar.gz mpd-1b79449ef13086790082eec18e9a25f784a6dc00.tar.xz mpd-1b79449ef13086790082eec18e9a25f784a6dc00.zip |
cmdline: Alphabetical help order like other GNU projects.
-rw-r--r-- | src/cmdline.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cmdline.c b/src/cmdline.c index 23b61609f..d4d96cf52 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -84,12 +84,12 @@ void parseOptions(int argc, char **argv, Options *options) option_create_db, option_no_create_db, option_no_daemon, option_no_config; const GOptionEntry entries[] = { - { "version", 'V', 0, G_OPTION_ARG_NONE, &option_version, - "print version number", NULL }, - { "kill", 0, 0, G_OPTION_ARG_NONE, &options->kill, - "kill the currently running mpd session", NULL }, { "create-db", 0, 0, G_OPTION_ARG_NONE, &option_create_db, "force (re)creation of database", NULL }, + { "kill", 0, 0, G_OPTION_ARG_NONE, &options->kill, + "kill the currently running mpd session", NULL }, + { "no-config", 0, 0, G_OPTION_ARG_NONE, &option_no_config, + "don't read from config", NULL }, { "no-create-db", 0, 0, G_OPTION_ARG_NONE, &option_no_create_db, "don't create database, even if it doesn't exist", NULL }, { "no-daemon", 0, 0, G_OPTION_ARG_NONE, &option_no_daemon, @@ -98,8 +98,8 @@ void parseOptions(int argc, char **argv, Options *options) "print messages to stderr", NULL }, { "verbose", 'v', 0, G_OPTION_ARG_NONE, &options->verbose, "verbose logging", NULL }, - { "no-config", 0, 0, G_OPTION_ARG_NONE, &option_no_config, - "don't read from config", NULL }, + { "version", 'V', 0, G_OPTION_ARG_NONE, &option_version, + "print version number", NULL }, { .long_name = NULL } }; |