baseline

yet another open-source distributed versioning control system
Log | Files | Refs

commit 63248b2318a987b168352601d301dcc5ab13b3ba
parent 9e230d9c181934aa08d8a33aa8158f1ffa1fc62b
Author: Mohamed Aslan <maslan@sce.carleton.ca>
Date:   Tue, 12 Aug 2014 16:12:30 -0400

command help now includes a list of implemented commands and a short introduction to each of them

Diffstat:
Mcmd-help.c | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/cmd-help.c b/cmd-help.c @@ -22,7 +22,18 @@ int cmd_help(int argc, char **argv) { - printf("help\n"); + printf("This is a short list of the main commands supported by baseline:\n"); + printf("\tadd\t\tadd a file/directory to the dircache\n"); + printf("\tbranch [lcs]\tdisplay the current branch\n" + "\t\t\tlist, create or switch branches\n"); + printf("\tcat [c]\t\twrite the content of a committed file to the stdout\n"); + printf("\tcheckout\tcheck out a commit into the working directory\n"); + printf("\tcommit [m]\tcommit the staged contents in the dircache to the repository\n"); + printf("\thelp\t\tdisplay this list\n"); + printf("\tinit\t\tinitialize a new repository in the current directory\n"); + printf("\tlog\t\tdisplay the commit logs\n"); + printf("\tls\t\tlist the content of a commit\n"); + printf("\tversion\t\tdisplay information about the installed version of baseline\n"); return EXIT_SUCCESS; }