Permalink
Browse files

updated usage and version strings

  • Loading branch information...
1 parent adcda94 commit 36f9f2f1057545b3b7ec7f8570b6c6dca4c5dcd2 @pgbovine committed Feb 6, 2012
Showing with 9 additions and 7 deletions.
  1. +9 −7 strace-4.6/strace.c
View
16 strace-4.6/strace.c
@@ -197,9 +197,9 @@ int exitval;
if (CDE_exec_mode) {
fprintf(ofp,
"CDE: Code, Data, and Environment packaging for Linux\n"
- "Copyright 2010-2011 Philip Guo (pg@cs.stanford.edu)\n"
- "http://www.stanford.edu/~pgbovine/cde.html\n\n"
- "usage: cde-exec [command within cde-root/ to run]\n");
+ "Copyright 2010-2012 Philip Guo (philip@pgbovine.net)\n\n"
+ "Full user manual: http://www.pgbovine.net/cde.html\n\n"
+ "Basic usage: cde-exec [command within cde-root/ to run]\n");
fprintf(ofp, "\nOptions\n");
fprintf(ofp, " -l : Use native dynamic linker on machine (less portable but more robust)\n");
@@ -209,13 +209,14 @@ int exitval;
fprintf(ofp, " -i '<file path>' : Ignore the given exact file path\n");
fprintf(ofp, " -p '<file path>' : Ignore the given file path prefix\n");
fprintf(ofp, " -v : Verbose mode (for debugging)\n");
+ fprintf(ofp, " -V : Print version\n");
}
else {
fprintf(ofp,
"CDE: Code, Data, and Environment packaging for Linux\n"
- "Copyright 2010-2011 Philip Guo (pg@cs.stanford.edu)\n"
- "http://www.stanford.edu/~pgbovine/cde.html\n\n"
- "usage: cde [command to run and package]\n");
+ "Copyright 2010-2012 Philip Guo (philip@pgbovine.net)\n\n"
+ "Full user manual: http://www.pgbovine.net/cde.html\n\n"
+ "Basic usage: cde [command to run and package]\n");
fprintf(ofp, "\nOptions\n");
fprintf(ofp, " -c : Print the order of files copied into the package in cde-copied-files.log\n");
@@ -224,6 +225,7 @@ int exitval;
fprintf(ofp, " -i '<file path>' : Ignore the given exact file path\n");
fprintf(ofp, " -p '<file path>' : Ignore the given file path prefix\n");
fprintf(ofp, " -v : Verbose mode (for debugging)\n");
+ fprintf(ofp, " -V : Print version\n");
}
exit(exitval);
@@ -973,7 +975,7 @@ main(int argc, char *argv[])
CDE_verbose_mode = 1;
break;
case 'V':
- printf("%s -- version %s\n", PACKAGE_NAME, VERSION);
+ printf("CDE v0.1\n");
exit(0);
break;
case 'z':

0 comments on commit 36f9f2f

Please sign in to comment.