Skip to content

Commit 183b8b4

Browse files
committed
Fix doc comment example
1 parent 4cff3b8 commit 183b8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/utils/rest_args_with_separator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import 'package:args/args.dart';
1616
/// print(results.rest);
1717
/// // ['a', 'b', '--unknown', 'c']
1818
/// print(restArgsWithSeparator(results));
19-
/// // ['a', 'b', '--', '--unknown', '-c']
19+
/// // ['a', 'b', '--', '--unknown', 'c']
2020
List<String> restArgsWithSeparator(ArgResults argResults) {
2121
// If no separator was used, return the rest args as is.
2222
if (!argResults.arguments.contains('--')) {

0 commit comments

Comments
 (0)