carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Carbon crashes for ill-formed command line options

Open viper-admin opened this issue 8 years ago • 3 comments

Created by @mueller55 on 2016-06-23 10:05 Last updated on 2019-03-11 09:12

It crashes basically whenever the options are wrong:

  • unknown option
  • missing argument to an option
  • option after filename
  • no filename given

In all those cases, it should show a usage message Usage: Carbon [options] and mention how to get help

viper-admin avatar Jun 23 '16 10:06 viper-admin

@alexanderjsummers commented on 2016-07-30 17:23

note that if the filename is provided but doesn't exist one gets the same error as if it had not been provided - this should also be fixed

viper-admin avatar Jul 30 '16 17:07 viper-admin

@gauravpartha on 2019-02-26 15:53:

  • edited the description
  • changed the assignee from (none) to @gauravpartha

viper-admin avatar Feb 26 '19 15:02 viper-admin

@gauravpartha commented on 2019-03-11 09:12

Carbon also crashes when providing --help as argument (the possible options are correctly printed but then the program crashes).

viper-admin avatar Mar 11 '19 09:03 viper-admin