xbps-pkgdb: fix argv in sanitize-plist target.
--HG-- extra : convert_revision : 6e475309733ddf37970ff0506b15714a6996b652
This commit is contained in:
parent
11f0a2d4a6
commit
74e575f984
|
@ -165,7 +165,7 @@ main(int argc, char **argv)
|
|||
|
||||
} else if (strcasecmp(argv[0], "sanitize-plist") == 0) {
|
||||
/* Sanitize a plist file (indent the file properly) */
|
||||
if (argc != 1)
|
||||
if (argc != 2)
|
||||
usage();
|
||||
|
||||
dbdict = prop_dictionary_internalize_from_file(argv[1]);
|
||||
|
|
Loading…
Reference in New Issue