xbps-pkgdb: fix argv in sanitize-plist target.

--HG--
extra : convert_revision : 6e475309733ddf37970ff0506b15714a6996b652
This commit is contained in:
Juan RP 2008-12-27 16:19:11 +01:00
parent 11f0a2d4a6
commit 74e575f984
1 changed files with 1 additions and 1 deletions

View File

@ -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]);