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.
This commit is contained in:
Ariel Cabello 2023-05-25 16:05:22 +02:00
parent e264ab4ad0
commit d33bdc97d0

View File

@ -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':