diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-09-02 21:27:20 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-09-02 21:27:20 +0000 |
commit | 4d459f43f7b214c26ad33c8206179a3f9c76aac8 (patch) | |
tree | 4085b370b085d50d3cb4bc7543ff3e67b4fe3375 | |
parent | ae4600bbda53ea9b2377efabdedd42968fa3efb4 (diff) |
Only display XORCOM_INTERNAL options if they can be used.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1380 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r-- | xpp/utils/fpga_load.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xpp/utils/fpga_load.c b/xpp/utils/fpga_load.c index 098b980..0f44340 100644 --- a/xpp/utils/fpga_load.c +++ b/xpp/utils/fpga_load.c @@ -577,11 +577,13 @@ void usage() fprintf(stderr, "\t\t[-d] # Get device version from eeprom\n"); fprintf(stderr, "\t\t[-I <hexfile>] # Input from <hexfile>\n"); fprintf(stderr, "\t\t[-g] # Get eeprom from device\n"); +#ifdef XORCOM_INTERNAL fprintf(stderr, "\t\t[-C srC byte] # Set Address sourCe (default: C0)\n"); fprintf(stderr, "\t\t[-V vendorid] # Set Vendor id on device\n"); fprintf(stderr, "\t\t[-P productid] # Set Product id on device\n"); fprintf(stderr, "\t\t[-R release] # Set Release. 2 dot separated decimals\n"); fprintf(stderr, "\t\t[-S serial] # Set Serial. 8 comma separated numbers\n"); +#endif exit(1); } |