-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
describe: move dummy --lang argument into own module
Signed-off-by: Ali Caglayan <alizter@gmail.com>
- Loading branch information
Showing
5 changed files
with
16 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
let arg = | ||
Arg.( | ||
value | ||
& opt (some string) None | ||
& info [ "lang" ] ~docv:"VERSION" | ||
~doc: | ||
"This argument has no effect and is deprecated. It exists solely for \ | ||
backwards compatibility.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(** Dune describe commands used to take a --lang arugment that did nothing | ||
expect for dune describe workspace. To keep compatilbility with accepting | ||
such an argument we provide a dummy argument here that can be used. It's | ||
value will typically be ignored. *) | ||
val arg : string option Cmdliner.Term.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters