Skip to content

Commit

Permalink
Dokanctl - Add usage option /?
Browse files Browse the repository at this point in the history
Liryna committed Nov 4, 2017

Verified

This commit was signed with the committer’s verified signature.
Emojigit 1F616EMO~nya
1 parent 08aeab6 commit ba21098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dokan_control/dokanctl.c
Original file line number Diff line number Diff line change
@@ -129,7 +129,7 @@ int __cdecl wmain(int argc, PWCHAR argv[]) {
fwprintf(stdout, L"Driver path: '%s'\n", driverFullPath);

WCHAR option = GetOption(argc, argv, 1);
if (option == L'\0') {
if (option == L'\0' || option == L'?') {
return ShowUsage();
}

0 comments on commit ba21098

Please sign in to comment.