intcmp(1): move program_name ternary
This commit is contained in:
parent
d2ae35eac9
commit
68e31058a8
@ -44,10 +44,10 @@ int main(int argc, char *argv[]) {
|
|||||||
size_t i;
|
size_t i;
|
||||||
unsigned char mode;
|
unsigned char mode;
|
||||||
int r; /* reference integer */
|
int r; /* reference integer */
|
||||||
program_name = (argv[0] == NULL ? program_name : argv[0]);
|
|
||||||
|
|
||||||
mode = 0;
|
mode = 0;
|
||||||
|
|
||||||
|
program_name = (argv[0] == NULL ? program_name : argv[0]);
|
||||||
|
|
||||||
if (argc == 0) { return usage(program_name); }
|
if (argc == 0) { return usage(program_name); }
|
||||||
|
|
||||||
while ((c = getopt(argc, argv, "egl")) != -1) {
|
while ((c = getopt(argc, argv, "egl")) != -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user