fix issue with arguments

This commit is contained in:
Liam Waldron 2023-03-28 17:07:52 -04:00
parent d895ae7db2
commit 8a0d44bbc3

View File

@ -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;
} }