From 6d09ef98fcc1395b0a9b0ac0e8a1d824ca3ede8d Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Wed, 13 Feb 2019 11:59:37 +0100 Subject: [PATCH] add help --- lib/ddzap.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/ddzap.c b/lib/ddzap.c index 58b85f3..326c787 100644 --- a/lib/ddzap.c +++ b/lib/ddzap.c @@ -102,7 +102,14 @@ int main(int argc, char **argv) pol = 0; break; case 'h': - printf("no help yet\n"); + printf("ddzap [-d delivery_system] [-p polarity] [-c config_dir] [-f frequency(Hz)]\n" + " [-b bandwidth(Hz)] [-s symbol_rate(Hz)]\n" + " [-g gold_code] [-r root_code] [-i id] [-n device_num]\n" + "\n" + " delivery_system = C,S,S2,T,T2,J83B,ISDBC,ISDBT\n" + " polarity = h,v\n" + " polarity = h,v\n" + "\n"); exit(-1); default: break;