diff options
author | Joe Damato <ice799@gmail.com> | 2010-11-08 15:47:43 -0800 |
---|---|---|
committer | Joe Damato <ice799@gmail.com> | 2010-11-28 20:08:02 -0800 |
commit | 535e738ab59cab4fbe79270d7031b5580651349d (patch) | |
tree | a111d6dc1ef80fa9d224e7be62968021b8d355c7 /options.c | |
parent | f0bd98b3e6753d8609a3054a61f2df6f9cdac10a (diff) | |
download | ltrace-535e738ab59cab4fbe79270d7031b5580651349d.tar.gz |
Cleanup and documentation.
- clean up options a bit to alphabetize things :)
- add documentation to the man page for added options which were missing docs
- removed the lib-dl caveat
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -236,6 +236,9 @@ process_options(int argc, char **argv) { case 'A': options.arraylen = atoi(optarg); break; + case 'b': + options.no_signals = 1; + break; case 'c': options.summary++; break; @@ -327,11 +330,6 @@ process_options(int argc, char **argv) { case 'n': options.indent = atoi(optarg); break; -#if defined(HAVE_LIBUNWIND) - case 'w': - options.bt_depth = atoi(optarg); - break; -#endif /* defined(HAVE_LIBUNWIND) */ case 'o': options.output = fopen(optarg, "w"); if (!options.output) { @@ -380,9 +378,11 @@ process_options(int argc, char **argv) { "version 2 or later for copying conditions. There is NO warranty.\n"); exit(0); break; - case 'b': - options.no_signals = 1; +#if defined(HAVE_LIBUNWIND) + case 'w': + options.bt_depth = atoi(optarg); break; +#endif /* defined(HAVE_LIBUNWIND) */ case 'X': #ifdef PLT_REINITALISATION_BP PLTs_initialized_by_here = optarg; |