fix issue with arguments
This commit is contained in:
parent
d895ae7db2
commit
8a0d44bbc3
@ -4,7 +4,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
if (argc == 1) {
|
if (argc < 2) {
|
||||||
printf("usage: %s PASSWORD ENTRY_NAME\n", argv[0]);
|
printf("usage: %s PASSWORD ENTRY_NAME\n", argv[0]);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user