Skip to content

Commit

Permalink
Formated --help
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadmuzzammil1998 committed Sep 23, 2017
1 parent 799fd2e commit 9b90b7b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions SWSH/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ public static void __color(string message, ConsoleColor cc) {
Console.ResetColor();
}
public static void help() {
Console.Write("SWSH [command] [arg]\n");
Console.WriteLine("\t--version -v: -Check the version of swsh.");
Console.WriteLine("\t--add [-password]* -a [-password]*: -Add a new connection either using private key or password (-password).");
Console.WriteLine("\t--show [nickname]*: Show nicknames/Details of a nickname.");
Console.WriteLine("\t--connect [nickname] -c [nickname]: -Connects to Server over SSH.");
Console.WriteLine("\t--delete [nickname]: -Deleted connection's nickname.");
Console.WriteLine("\t--help -h: -Displays this help.");
Console.WriteLine("clear: Clears the console.");
Console.WriteLine("exit: Exits.");
Console.Write("swsh [command] [arg]\n");
Console.WriteLine("\t-v --version: -Check the version of swsh.");
Console.WriteLine("\t-a --add [-password]* -Add a new connection either using private key or password (-password).");
Console.WriteLine("\t --show [nickname]* -Show nicknames/Details of a nickname.");
Console.WriteLine("\t-c --connect [nickname] -Connects to Server over SSH.");
Console.WriteLine("\t --delete [nickname] -Deleted connection's nickname.");
Console.WriteLine("\t-h --help: -Displays this help.");
Console.WriteLine("clear\t -Clears the console.");
Console.WriteLine("exit\t -Exits.");
Console.WriteLine("\n\nNOTES:\n[1] cd .. is not supported.\n[2] * = Optional.");
}
public static void __checkexit(string keyword) {
Expand Down

0 comments on commit 9b90b7b

Please sign in to comment.