[Frugalware-darcs] fwinit: fwinit: Print out the command line used to start init for coding purposes

AlexExtreme alex at alex-smith.me.uk
Sun Sep 24 21:42:45 CEST 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fwinit;a=darcs_commitdiff;h=20060924194157-46e39-590420fc55b08bbcacb2ab14e4a8efe6c8ab98ea.gz;

[fwinit: Print out the command line used to start init for coding purposes
AlexExtreme <alex at alex-smith.me.uk>**20060924194157] {
hunk ./src/main.c 165
-{	
+{
+	int i;
+	
hunk ./src/main.c 176
+	print("\n\n\n\n");
hunk ./src/main.c 184
+	
+	textcolor(BRIGHT, CYAN, HIDDEN);
+	print(":: ");
+	textcolor(BRIGHT, WHITE, HIDDEN);
+	print("Command line was: ");
+	for (i = 0; i < argc; i++) {
+		print(argv[i]);
+		print(" ");
+	}
hunk ./src/main.c 194
+	print("\n");
}


More information about the Frugalware-darcs mailing list