Tomboy.TomboyCommandLine.PrintUsage C# (CSharp) Method

PrintUsage() public static method

public static PrintUsage ( ) : void
return void
		public static void PrintUsage ()
		{
			string usage =
			        Catalog.GetString (
			                "Usage:\n" +
			                "  --version\t\t\tPrint version information.\n" +
			                "  --help\t\t\tPrint this usage message.\n" +
			                "  --note-path [path]\t\tLoad/store note data in this " +
			                "directory.\n" +
			                "  --search [text]\t\tOpen the search all notes window with " +
			                "the search text.\n");
			// This odd concatenation preserved to avoid wasting time retranslating these strings
			usage +=
			        Catalog.GetString (
			                "  --new-note\t\t\tCreate and display a new note.\n" +
			                "  --new-note [title]\t\tCreate and display a new note, " +
			                "with a title.\n" +
			                "  --open-note [title/url]\tDisplay the existing note " +
			                "matching title.\n" +
			                "  --start-here\t\t\tDisplay the 'Start Here' note.\n" +
			                "  --highlight-search [text]\tSearch and highlight text " +
			                "in the opened note.\n");
			usage +=
			        Catalog.GetString (
			                "  --addin:html-export-all [path]\tExports all notes to " +
			                "HTML in the given location.\n" +
			                "  --addin:html-export-all-quit [path]\tExports all notes to " +
			                "HTML in the given location and then quits.\n");

			Console.WriteLine (usage);
		}