You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jpsim/SourceKitten#174
Maybe that issue introduced since updating Commandant to the version that supports generating Unrecognized arguments error.
For fixing that, I tried:
staticfunc evaluate(m:CommandMode)->Result<DocOptions,CommandantError<SourceKittenError>>{return create
<*> m <|Option(key:"single-file", defaultValue: false, usage:"only document one file")<*> m <|Option(key:"module-name", defaultValue:"", usage:"name of module to document (can't be used with `--single-file` or `--objc`)")<*> m <|Option(key:"objc", defaultValue: false, usage:"document Objective-C headers")<*> m <|Argument(defaultValue:[], usage:"An argument list that consumes the rest of positional arguments")}
jpsim/SourceKitten#174
Maybe that issue introduced since updating Commandant to the version that supports generating
Unrecognized arguments
error.For fixing that, I tried:
and got:
% cd Source/SourceKittenFrameworkTests/Fixtures % sourcekitten doc --single-file Subscript.swift -j4 Subscript.swift Unrecognized arguments: -j4
-j4 Subscript.swift
are expected to use as arguments on launching child process.The text was updated successfully, but these errors were encountered: