Skip to content

Commit

Permalink
Merge pull request #1 from heldr/master
Browse files Browse the repository at this point in the history
Improve help msg
  • Loading branch information
kinncj committed Sep 17, 2012
2 parents 2971fb0 + 3dfc807 commit 904ed85
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions cinnamon-helper
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,19 @@ function readUrl()

function help()
{
$msg = "\t\tCommands:\n";
$msg .= "\t\thelp: This help\n";
$msg .= "\t\tapplet: Install an applet\n";
$msg .= "\t\ttheme: Install a theme\n";
$msg .= "\t\textension: Install an extension\n";
$msg .= "\t\tcredits: Credits\n";
$msg .= "\t\texit: Exit\n";
echo $msg;
$msg = array("\033[32m",

"Commands:",
"help: This help",
"applet: Install an applet",
"theme: Install a theme",
"extension: Install an extension",
"credits: Credits",
"exit: Exit",

"\033[37m\r\n");

echo join( "\n\t\t" , $msg );
switcher();
}
$home = $_SERVER['HOME'];
Expand Down

0 comments on commit 904ed85

Please sign in to comment.