Parcourir la source

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 il y a 3 ans
Parent
commit
d33bdc97d0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {
     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) {
         if (arg != -1) {
             switch (static_cast<char>(arg)) {
             switch (static_cast<char>(arg)) {
             case 'c':
             case 'c':