Mercurial > hg > toybox
comparison main.c @ 1666:10922d83392a draft
Remove trailing whitespace.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 18 Jan 2015 14:06:14 -0600 |
parents | 492bd41f8b9a |
children | cbb1aca81eca |
comparison
equal
deleted
inserted
replaced
1665:5d003cc2fa16 | 1666:10922d83392a |
---|---|
150 toys.which = toy_list; | 150 toys.which = toy_list; |
151 if (toys.argv[1]) { | 151 if (toys.argv[1]) { |
152 toys.optc = toys.recursion = 0; | 152 toys.optc = toys.recursion = 0; |
153 toy_exec(toys.argv+1); | 153 toy_exec(toys.argv+1); |
154 if (toys.argv[1][0] == '-') goto list; | 154 if (toys.argv[1][0] == '-') goto list; |
155 | 155 |
156 error_exit("Unknown command %s",toys.argv[1]); | 156 error_exit("Unknown command %s",toys.argv[1]); |
157 } | 157 } |
158 | 158 |
159 list: | 159 list: |
160 // Output list of command. | 160 // Output list of command. |