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