зеркало из https://github.com/mozilla/pjs.git
dump usage before doing anything when no args passed, bug 63520
This commit is contained in:
Родитель
b0ae6aa179
Коммит
6860a81722
|
@ -34,7 +34,7 @@
|
|||
/*
|
||||
* cmsutil -- A command to work with CMS data
|
||||
*
|
||||
* $Id: cmsutil.c,v 1.20 2000-12-14 23:59:33 mcgreer%netscape.com Exp $
|
||||
* $Id: cmsutil.c,v 1.21 2000-12-21 22:14:02 mcgreer%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nspr.h"
|
||||
|
@ -1142,6 +1142,9 @@ main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
if (mode == UNKNOWN)
|
||||
Usage(progName);
|
||||
|
||||
if (mode != CERTSONLY)
|
||||
SECU_FileToItem(&input, inFile);
|
||||
if (inFile != PR_STDIN)
|
||||
|
|
Загрузка…
Ссылка в новой задаче