diff options
| author | Jakob Kaivo <jkk@x1-nano.kaivo.local> | 2023-04-01 21:44:31 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@x1-nano.kaivo.local> | 2023-04-01 21:44:31 -0400 |
| commit | 2738dc4bc2467e0082ba86682aef4a25ed531c53 (patch) | |
| tree | 022b1dc29c33b8d1884914d86ae7b675b884bbea | |
| parent | b732995c5217d0619fd8d67653b930665ca09d12 (diff) | |
fix unalias -a
| -rw-r--r-- | alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ int unalias_main(int argc, char **argv) int all = 0; int c = 0; - while (getopt(argc, argv, "a") != -1) { + while ((c = getopt(argc, argv, "a")) != -1) { switch (c) { case 'a': all = 1; |
