Skip to content

Commit

Permalink
Options in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabiszewski committed Feb 22, 2018
1 parent 57fc1b9 commit 166a51f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ Usage: kterm [OPTIONS]
-e <command> execute command in kterm
-E <var> set environment variable
-f <family> font family
-t <encoding> terminal encoding
-h show this message
-k <0|1> keyboard off/on
-l <path> keyboard layout config path
-o <U|R|L> screen orientation (up, right, left)
-s <size> font size
-t <encoding> terminal encoding
-v print version and exit
```

Expand Down
4 changes: 2 additions & 2 deletions kterm.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,14 +477,14 @@ static void usage(void) {
printf(" -e <command> execute command in kterm\n");
printf(" -E <var> set environment variable\n");
printf(" -f <family> font family\n");
printf(" -t <encoding> terminal encoding\n");
printf(" -h show this message\n");
printf(" -k <0|1> keyboard off/on\n");
printf(" -l <path> keyboard layout config path\n");
#ifdef KINDLE
printf(" -o <U|R|L> screen orientation (up, right, left)\n");
#endif
printf(" -s <size> font size\n");
printf(" -t <encoding> terminal encoding\n");
printf(" -v print version and exit\n");
exit(0);
}
Expand Down Expand Up @@ -603,7 +603,7 @@ gint main(gint argc, gchar **argv) {
// set terminfo path
envv[envc++] = "TERMINFO=" TERMINFO_PATH;
#endif
while((c = getopt(argc, argv, "c:de:E:f:t:hk:l:o:s:v")) != -1) {
while((c = getopt(argc, argv, "c:de:E:f:hk:l:o:s:t:v")) != -1) {
switch(c) {
case 'd':
debug = TRUE;
Expand Down

0 comments on commit 166a51f

Please sign in to comment.