X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=cli.c;h=41179d70e2dae16865237436126591e946039fb3;hb=HEAD;hp=0e98aa7f5e5b7bc59a5ba149d5cda2a230b7b4e1;hpb=c4402a9e59721172395d9403cfbe467209bcd6ad;p=uci.git diff --git a/cli.c b/cli.c index 0e98aa7..41179d7 100644 --- a/cli.c +++ b/cli.c @@ -403,6 +403,7 @@ static int uci_do_section_cmd(int cmd, int argc, char **argv) if (argc != 2) return 255; + printf("argv[1]: %s\n", argv[1]); if (uci_lookup_ptr(ctx, &ptr, argv[1], true) != UCI_OK) { cli_perror(); return 1; @@ -585,8 +586,9 @@ static int uci_cmd(int argc, char **argv) case CMD_DEL: case CMD_RENAME: case CMD_REVERT: - case CMD_REORDER: + case CMD_REORDER: { return uci_do_section_cmd(cmd, argc, argv); + } case CMD_SHOW: case CMD_EXPORT: case CMD_COMMIT: