File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
argparse/src/argparse/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ trait ParsersApi extends VersionSpecificParsersApi { api: TypesApi =>
652652 _commandInfos += CommandInfo (name, action, description)
653653 }
654654
655- private var _unknownCommand : String => Iterable [String ] => String = null
655+ private var _unknownCommand : String => Iterable [String ] => Unit = null
656656
657657 /** Action to run on an unknown subcommand. Use it to support dynamic
658658 * subcommands.
@@ -673,7 +673,7 @@ trait ParsersApi extends VersionSpecificParsersApi { api: TypesApi =>
673673 * ```
674674 */
675675 def unknownCommand (
676- fn : String => Iterable [String ] => String
676+ fn : String => Iterable [String ] => Unit
677677 ): Unit = {
678678 _unknownCommand = fn
679679 }
You can’t perform that action at this time.
0 commit comments