Skip to content

Commit

Permalink
usability improvements to project type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullin committed Feb 28, 2013
1 parent 6590328 commit 5f76469
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Gtd.Console/Commands/ChangeProjectTypeCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ namespace Gtd.Shell.Commands
{
public sealed class ChangeProjectTypeCommand : IConsoleCommand
{
public string[] Key { get { return new string[] { "type", "cp"};} }
public string Usage { get { return @"type <projectId> seq | si | par
Change project type"; } }
public string[] Key { get { return new[] { "type", "pt", "ct"};} }
public string Usage { get { return @"type <projectId> seq | li | par
Change project type to Sequential | List | Parallel"; } }
public void Execute(ConsoleEnvironment env, string[] args)
{
if (args.Length != 2)
Expand All @@ -24,7 +24,7 @@ public void Execute(ConsoleEnvironment env, string[] args)
{
changeTo = ProjectType.Sequential;
}
else if (lowerInvariant.StartsWith("si"))
else if (lowerInvariant.StartsWith("li"))
{
changeTo = ProjectType.List;
}
Expand Down

0 comments on commit 5f76469

Please sign in to comment.