Skip to content

Commit 15d29dd

Browse files
committed
Merge branch 'jk/no-no-no-empty-directory'
* jk/no-no-no-empty-directory: parseopt: add OPT_NEGBIT
2 parents 104d379 + e9008b9 commit 15d29dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-ls-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ int cmd_ls_files(int argc, const char **argv, const char *prefix)
454454
OPT_BIT(0, "directory", &dir.flags,
455455
"show 'other' directories' name only",
456456
DIR_SHOW_OTHER_DIRECTORIES),
457-
OPT_BIT(0, "no-empty-directory", &dir.flags,
457+
OPT_NEGBIT(0, "empty-directory", &dir.flags,
458458
"don't show empty directories",
459459
DIR_HIDE_EMPTY_DIRECTORIES),
460460
OPT_BOOLEAN('u', "unmerged", &show_unmerged,

0 commit comments

Comments
 (0)