mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
I made these little simplifications a while back, bug forgot to
check this stuff in. -Erik
This commit is contained in:
parent
702ec5926f
commit
8b728a25a3
@ -158,10 +158,8 @@ int du_main(int argc, char **argv)
|
||||
#ifdef BB_FEATURE_HUMAN_READABLE
|
||||
case 'h': du_disp_hr = 0; break;
|
||||
case 'm': du_disp_hr = MEGABYTE; break;
|
||||
case 'k': du_disp_hr = KILOBYTE; break;
|
||||
#else
|
||||
case 'k': break;
|
||||
#endif
|
||||
case 'k': break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
@ -187,7 +185,7 @@ int du_main(int argc, char **argv)
|
||||
return status;
|
||||
}
|
||||
|
||||
/* $Id: du.c,v 1.38 2001/02/20 06:14:07 andersen Exp $ */
|
||||
/* $Id: du.c,v 1.39 2001/03/06 23:14:43 andersen Exp $ */
|
||||
/*
|
||||
Local Variables:
|
||||
c-file-style: "linux"
|
||||
|
@ -827,10 +827,8 @@ extern int ls_main(int argc, char **argv)
|
||||
#endif
|
||||
#ifdef BB_FEATURE_HUMAN_READABLE
|
||||
case 'h': ls_disp_hr = 0; break;
|
||||
case 'k': ls_disp_hr = KILOBYTE; break;
|
||||
#else
|
||||
case 'k': break;
|
||||
#endif
|
||||
case 'k': break;
|
||||
default:
|
||||
goto print_usage_message;
|
||||
}
|
||||
|
6
du.c
6
du.c
@ -158,10 +158,8 @@ int du_main(int argc, char **argv)
|
||||
#ifdef BB_FEATURE_HUMAN_READABLE
|
||||
case 'h': du_disp_hr = 0; break;
|
||||
case 'm': du_disp_hr = MEGABYTE; break;
|
||||
case 'k': du_disp_hr = KILOBYTE; break;
|
||||
#else
|
||||
case 'k': break;
|
||||
#endif
|
||||
case 'k': break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
@ -187,7 +185,7 @@ int du_main(int argc, char **argv)
|
||||
return status;
|
||||
}
|
||||
|
||||
/* $Id: du.c,v 1.38 2001/02/20 06:14:07 andersen Exp $ */
|
||||
/* $Id: du.c,v 1.39 2001/03/06 23:14:43 andersen Exp $ */
|
||||
/*
|
||||
Local Variables:
|
||||
c-file-style: "linux"
|
||||
|
Loading…
Reference in New Issue
Block a user