Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GVFS/GVFS/CommandLine/ServiceVerb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public override void Execute()
int optionCount = new[] { this.MountAll, this.UnmountAll, this.List }.Count(flag => flag);
if (optionCount == 0)
{
this.ReportErrorAndExit("Error: You must specify an argument. Run 'gvfs serivce --help' for details.");
this.ReportErrorAndExit($"Error: You must specify an argument. Run 'gvfs {ServiceVerbName} --help' for details.");
}
else if (optionCount > 1)
{
this.ReportErrorAndExit("Error: You cannot specify multiple arguments. Run 'gvfs serivce --help' for details.");
this.ReportErrorAndExit($"Error: You cannot specify multiple arguments. Run 'gvfs {ServiceVerbName} --help' for details.");
}

string errorMessage;
Expand Down