فهرست منبع

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 سال پیش
والد
کامیت
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':