File: up_cp_cmdline_version

package info (click to toggle)
cde 0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,424 kB
  • sloc: ansic: 75,878; sh: 4,282; python: 1,006; perl: 438; makefile: 297; lisp: 44; java: 5
file content (50 lines) | stat: -rw-r--r-- 2,234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- a/strace-4.6/strace.c
+++ b/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':