aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorJoe Damato <ice799@gmail.com>2010-11-08 15:47:43 -0800
committerJoe Damato <ice799@gmail.com>2010-11-28 20:08:02 -0800
commit535e738ab59cab4fbe79270d7031b5580651349d (patch)
treea111d6dc1ef80fa9d224e7be62968021b8d355c7 /options.c
parentf0bd98b3e6753d8609a3054a61f2df6f9cdac10a (diff)
downloadltrace-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.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/options.c b/options.c
index d3e62a0..c7e3be6 100644
--- a/options.c
+++ b/options.c
@@ -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;