Stop wrongly displaying the default boolean value, they are usually toggles.
This commit is contained in:
parent
f17cc6a211
commit
ffff529772
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -rf doc
|
||||||
|
dart doc
|
||||||
mkdir out
|
mkdir out
|
||||||
rm -rf out/*
|
rm -rf out/*
|
||||||
flutter pub publish -f --skip-validation
|
flutter pub publish -f --skip-validation
|
||||||
|
|
|
@ -22,7 +22,7 @@ class CLIHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.append(
|
builder.append(
|
||||||
"\t\t\t${arg.description} ${arg.getValue().toString() == "%" ? "" : "[Default: ${arg.getValue()}]"}\n");
|
"\t\t\t${arg.description} ${(arg.getValue().toString() == "%" || arg.getType() == ArgumentType.BOOL) ? "" : "[Default: ${arg.getValue()}]"}\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: libac_dart
|
name: libac_dart
|
||||||
description: "Aria's Creations code library"
|
description: "Aria's Creations code library"
|
||||||
version: 1.1.070224+2232
|
version: 1.1.070224+2329
|
||||||
homepage: "https://zontreck.com"
|
homepage: "https://zontreck.com"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue