From 64feb7c04c66bcd920ca15e2926e63c340e5d479 Mon Sep 17 00:00:00 2001 From: Yehezkel Bernat Date: Tue, 25 Sep 2018 17:46:25 +0300 Subject: [PATCH] trivial: Fix a typo in error messages --- GVFS/GVFS/CommandLine/ServiceVerb.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GVFS/GVFS/CommandLine/ServiceVerb.cs b/GVFS/GVFS/CommandLine/ServiceVerb.cs index f440206ac..13b4a5689 100644 --- a/GVFS/GVFS/CommandLine/ServiceVerb.cs +++ b/GVFS/GVFS/CommandLine/ServiceVerb.cs @@ -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;