summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ariel Cabello2023-05-25 16:05:22 +0200
committerGravatar Ariel Cabello2023-05-25 16:05:22 +0200
commitd33bdc97d070788af8f6ae979fd48383f90b6a52 (patch)
tree0aa3eada8f4c12060b9ac6b2f9bc261b454e6472
parentMerge pull request #10415 from german77/amiibo-no-key (diff)
downloadyuzu-d33bdc97d070788af8f6ae979fd48383f90b6a52.tar.gz
yuzu-d33bdc97d070788af8f6ae979fd48383f90b6a52.tar.xz
yuzu-d33bdc97d070788af8f6ae979fd48383f90b6a52.zip
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.
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 5f39ece32..ca5ce0f53 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -227,7 +227,7 @@ int main(int argc, char** argv) {
227 }; 227 };
228 228
229 while (optind < argc) { 229 while (optind < argc) {
230 int arg = getopt_long(argc, argv, "g:fhvp::c:", long_options, &option_index); 230 int arg = getopt_long(argc, argv, "g:fhvp::c:u:", long_options, &option_index);
231 if (arg != -1) { 231 if (arg != -1) {
232 switch (static_cast<char>(arg)) { 232 switch (static_cast<char>(arg)) {
233 case 'c': 233 case 'c':