File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ pub fn uu_app() -> Command {
296296 . long ( OPT_FILE )
297297 . value_name ( "DATEFILE" )
298298 . value_hint ( clap:: ValueHint :: FilePath )
299+ . conflicts_with ( OPT_DATE )
299300 . help ( translate ! ( "date-help-file" ) ) ,
300301 )
301302 . arg (
@@ -313,6 +314,7 @@ pub fn uu_app() -> Command {
313314 . arg (
314315 Arg :: new ( OPT_RESOLUTION )
315316 . long ( OPT_RESOLUTION )
317+ . conflicts_with_all ( [ OPT_DATE , OPT_FILE ] )
316318 . overrides_with ( OPT_RESOLUTION )
317319 . help ( translate ! ( "date-help-resolution" ) )
318320 . action ( ArgAction :: SetTrue ) ,
@@ -345,6 +347,7 @@ pub fn uu_app() -> Command {
345347 . long ( OPT_REFERENCE )
346348 . value_name ( "FILE" )
347349 . value_hint ( clap:: ValueHint :: AnyPath )
350+ . conflicts_with_all ( [ OPT_DATE , OPT_FILE , OPT_RESOLUTION ] )
348351 . help ( translate ! ( "date-help-reference" ) ) ,
349352 )
350353 . arg (
You can’t perform that action at this time.
0 commit comments