Index: pkg/args/args.dart |
diff --git a/pkg/args/args.dart b/pkg/args/args.dart |
index 152fcc675d7c562fb588520e9788f73fd1534c1d..69c7d2820e22aae76e27d2a736b74d76ed7a33ca 100644 |
--- a/pkg/args/args.dart |
+++ b/pkg/args/args.dart |
@@ -23,6 +23,11 @@ |
* |
* parser.addFlag('name'); |
* |
+ * Flag options will, by default, accept a 'no-' prefix to negate the option. |
+ * This can be disabled like so: |
+ * |
+ * parser.addFlag('name', negatable: false); |
+ * |
* (From here on out "option" will refer to both "regular" options and flags. |
* In cases where the distinction matters, we'll use "non-flag option".) |
* |