View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003293CMakeCMakepublic2006-05-26 07:452016-06-10 14:30
ReporterThomas Zander 
Assigned ToBrad King 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003293: Normal unix command line parsing fails.
DescriptionIn normal unix command line parsing you can type a '-v' and get feedback that you typed a command that was not available. I.e. it knows that all arguments starting with a dash are commands.
In cmake the unknown param is not seen as a command and an inappropriate error is given.

Similarly; all unix commands allow a double dash to stop parsing of commands.
So a 'ls -l -- -bla' will list the dir named '-bla' using the -l command-option.
This is also not honoured by cmake;
cmake -- --version
will incorrectly tell me the version number, while i _asked_ it to work on the file '--version'.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0005209)
Brad King (manager)
2006-10-04 19:20

Bug 0003844 references this bug. It is a central command line parsing framework request.
(0019572)
dhardy (reporter)
2010-02-22 09:51

Similarly, ctest ignores unrecognized options. Telling the user they got something wrong is preferable. Example:

Mis-guessing an option like "-Rxyz" instead of "-R xyz" results in ctest running as if the argument were not given.
(0030558)
Brad King (manager)
2012-08-13 10:44

Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0041312)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-02-22 09:51 dhardy Note Added: 0019572
2012-08-13 10:44 Brad King Status assigned => backlog
2012-08-13 10:44 Brad King Note Added: 0030558
2016-06-10 14:27 Kitware Robot Note Added: 0041312
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team