Przeglądaj źródła

Add short option for only-dirs

Marco 'don' Kaulea 7 lat temu
rodzic
commit
33167a2282
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/options/flags.rs

+ 1 - 1
src/options/flags.rs

@@ -30,7 +30,7 @@ pub static SORT:        Arg = Arg { short: Some(b's'), long: "sort",        take
 pub static IGNORE_GLOB: Arg = Arg { short: Some(b'I'), long: "ignore-glob", takes_value: TakesValue::Necessary(None) };
 pub static GIT_IGNORE:  Arg = Arg { short: None, long: "git-ignore",           takes_value: TakesValue::Forbidden };
 pub static DIRS_FIRST:  Arg = Arg { short: None, long: "group-directories-first",  takes_value: TakesValue::Forbidden };
-pub static ONLY_DIRS:   Arg = Arg { short: None, long: "only-dirs", takes_value: TakesValue::Forbidden };
+pub static ONLY_DIRS:   Arg = Arg { short: Some(b'D'), long: "only-dirs", takes_value: TakesValue::Forbidden };
 const SORTS: Values = &[ "name", "Name", "size", "extension",
                              "Extension", "modified", "accessed",
                              "created", "inode", "type", "none" ];