Sort options for clarity

This commit is contained in:
Behdad Esfahbod 2011-04-01 14:19:10 -04:00
parent 5d91c3d547
commit f48ff19b62
1 changed files with 6 additions and 6 deletions

View File

@ -90,16 +90,16 @@ parse_opts (int argc, char **argv)
{ {
int option_index = 0, c; int option_index = 0, c;
static struct option long_options[] = { static struct option long_options[] = {
{"help", 0, 0, 'h'}, {"background", 1, 0, 'B'},
{"version", 0, 0, 'v'},
{"margin", 1, 0, 'm'},
{"line-space", 1, 0, 'l'},
{"font-size", 1, 0, 's'}, {"font-size", 1, 0, 's'},
{"foreground", 1, 0, 'F'}, {"foreground", 1, 0, 'F'},
{"background", 1, 0, 'B'}, {"help", 0, 0, 'h'},
{"language", 1, 0, 'L'}, {"language", 1, 0, 'L'},
{"script", 1, 0, 'S'}, {"line-space", 1, 0, 'l'},
{"margin", 1, 0, 'm'},
{"output", 1, 0, 'o'}, {"output", 1, 0, 'o'},
{"script", 1, 0, 'S'},
{"version", 0, 0, 'v'},
{0, 0, 0, 0} {0, 0, 0, 0}
}; };