Просмотр исходного кода

Add short "-u" option for yuzu_cmd.

The -u short option was documented but not implemented in yuzu_cmd.
The same long option --user worked before.
Ariel Cabello 3 лет назад
Родитель
Сommit
d33bdc97d0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/yuzu_cmd/yuzu.cpp

+ 1 - 1
src/yuzu_cmd/yuzu.cpp

@@ -227,7 +227,7 @@ int main(int argc, char** argv) {
     };
 
     while (optind < argc) {
-        int arg = getopt_long(argc, argv, "g:fhvp::c:", long_options, &option_index);
+        int arg = getopt_long(argc, argv, "g:fhvp::c:u:", long_options, &option_index);
         if (arg != -1) {
             switch (static_cast<char>(arg)) {
             case 'c':