From 31c8d6b97732fd6c6b44dc6efaee5ffaa4532895 Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 6 Jan 2013 15:33:37 +0000 Subject: [PATCH] Fixed man page. --- docs/leocad.1 | 4 ++-- generic.mk | 11 ----------- linux/system.cpp | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 generic.mk diff --git a/docs/leocad.1 b/docs/leocad.1 index c5347b34..2de0ad59 100644 --- a/docs/leocad.1 +++ b/docs/leocad.1 @@ -4,7 +4,7 @@ .SH NAME LeoCAD \- CAD program using plastic bricks. .SH SYNOPSIS -\fIleocad \fR[\fI infile \fR[ -i \fR[\fI outfile.ext \fR]\fI \fR[\fI-w x\fR]\fI \fR[\fI-h y\fR] ] \fR] [\fI\-l path\fR] +\fIleocad \fR[\fI infile \fR[ \-i \fR[\fI outfile.ext \fR]\fI \fR[\fI\-w x\fR]\fI \fR[\fI\-h y\fR] ] \fR] [\fI\-l path\fR] .SH "DESCRIPTION" This manual page documents briefly the \fILeoCAD \fRprogram. It was written for the Debian GNU/Linux distribution @@ -100,7 +100,7 @@ The default library names searched are libGL.so and libMesaGL.so. .SH EXAMPLES .PP - $ leocad car.lcd -i car.png -w 640 -h 480 + $ leocad car.lcd \-i car.png \-w 640 \-h 480 .PP This will start LeoCAD, load the file "car.lcd," create a png called "car.png" with a resolution of 640x480 and exit when done. diff --git a/generic.mk b/generic.mk deleted file mode 100644 index bf67ca32..00000000 --- a/generic.mk +++ /dev/null @@ -1,11 +0,0 @@ - -all: - $(MAKE) -C .. $@ - -clean: - $(MAKE) -C .. $@ - -veryclean: - $(MAKE) -C .. $@ - -.PHONY: all clean veryclean diff --git a/linux/system.cpp b/linux/system.cpp index 12afd8c3..4ad1de48 100644 --- a/linux/system.cpp +++ b/linux/system.cpp @@ -135,7 +135,7 @@ void Sys_GetFileList(const char* Path, ObjArray& FileList) DIR* Dir = opendir(DirPath); if (!Dir) { - printf("Couldn't open directory.\n"); + printf("Couldn't open directory %s.\n", DirPath); return; }