diff options
author | David Smith <dsmith@redhat.com> | 2009-09-01 15:20:39 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-09-01 15:20:39 -0500 |
commit | 635035ca64e9c6e6ad8252545446bbf9bc2a9c55 (patch) | |
tree | 33c024e1ee5e3c9be667378182e4189855b0ac86 /main.cxx | |
parent | 4569f6bb769482d732f72fb1208522d51f4e36f4 (diff) | |
download | systemtap-steved-635035ca64e9c6e6ad8252545446bbf9bc2a9c55.tar.gz systemtap-steved-635035ca64e9c6e6ad8252545446bbf9bc2a9c55.tar.xz systemtap-steved-635035ca64e9c6e6ad8252545446bbf9bc2a9c55.zip |
PR10552: Removed references to the merge ('-M') option.
* hash.cxx (find_script_hash): Removed unused merge option.
* main.cxx (checkOptions): Removed merge option checks.
(main): Removed merge option.
* session.h: Ditto.
* initscript/README.initscript: Removed reference to '-M' option.
* initscript/systemtap.in (stap_getopt): Ditto.
* testsuite/parseko/cmdline01.stp: Removed merge option test.
* testsuite/parseko/cmdline05.stp: Ditto.
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -368,18 +368,6 @@ checkOptions (systemtap_session &s) { bool optionsConflict = false; - if(!s.bulk_mode && !s.merge) - { - cerr << "-M option is valid only for bulk (relayfs) mode." <<endl; - optionsConflict = true; - } - - if(!s.output_file.empty() && s.bulk_mode && !s.merge) - { - cerr << "You can't specify -M, -b and -o options together." <<endl; - optionsConflict = true; - } - if((s.cmd != "") && (s.target_pid)) { cerr << "You can't specify -c and -x options together." <<endl; @@ -504,7 +492,6 @@ main (int argc, char * const argv []) s.keep_tmpdir = false; s.cmd = ""; s.target_pid = 0; - s.merge=true; s.perfmon=0; s.symtab = false; s.use_cache = true; @@ -610,7 +597,7 @@ main (int argc, char * const argv []) { "unprivileged", 0, &long_opt, LONG_OPT_UNPRIVILEGED }, { NULL, 0, NULL, 0 } }; - int grc = getopt_long (argc, argv, "hVMvtp:I:e:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:", + int grc = getopt_long (argc, argv, "hVvtp:I:e:o:R:r:a:m:kgPc:x:D:bs:uqwl:d:L:FS:B:", long_options, NULL); if (grc < 0) break; @@ -620,10 +607,6 @@ main (int argc, char * const argv []) version (); exit (0); - case 'M': - s.merge = false; - break; - case 'v': for (unsigned i=0; i<5; i++) s.perpass_verbose[i] ++; |