commit c04b257d12aaf73bf5181f297d8ecc9898bb1c40
parent 27e88079c9ed4ba5f19ed4eae04d0c56319bc0c4
Author: leitner <leitner>
Date: Sat, 26 Feb 2005 17:00:22 +0000
add usage for serdo (Nikola Vladov)
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES b/CHANGES
@@ -25,7 +25,7 @@
make "msvc servicename" output easier to parse if not outputting to a tty
require libowfat instead of shipping half of it ourselves
replace malloc with alloca; minit is now 6644 bytes on i386.
-
+ add usage for serdo (Nikola Vladov)
0.9.1:
fix embarassing typo in msvc (Gelu G. Lupas)
diff --git a/serdo.c b/serdo.c
@@ -147,6 +147,7 @@ int batch(char* s) {
int main(int argc,char* argv[],char* env[]) {
int r;
(void)argc;
+ if (argc<2) die(1,"usage: serdo [-c] filename");
errmsg_iam("serdo");
for (envc=0; envc<MAXENV && env[envc]; ++envc) envp[envc]=env[envc];
envp[envc]=0;