Skip to content

Commit

Permalink
Accept --inline arg
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardog committed May 26, 2024
1 parent 6ebb465 commit 687c099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gsudo/Helpers/CommandLineParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ ICommand ParseOption(string argChar, string argWord, out bool skipRemainingChars
else if (match(null, "--new-window")) { InputArguments.NewWindow = true; }
else if (argChar == "D" && argWord == "-D" && FileApi.PathExists(args.FirstOrDefault())) { InputArguments.StartingDirectory = DeQueueArg(); }
else if (match(null, "--chdir")) { InputArguments.StartingDirectory = DeQueueArg(); }
else if (match(null, "--inline")) { InputArguments.NewWindow = false; }

// rest
else if (match("d", "--direct")) { InputArguments.Direct = true; }
Expand Down

0 comments on commit 687c099

Please sign in to comment.