CommandLineApplicationTests.cs (7)
794var optionA = app.Option("-a|--option-a", "", CommandOptionType.SingleValue, inherited: true);
797var optionB = app.Option("-b", "", CommandOptionType.SingleValue, inherited: false);
823app.Option("-a|--always", "Top-level", CommandOptionType.SingleValue, inherited: true);
836var top = app.Option("-a|--always", "Top-level", CommandOptionType.SingleValue, inherited: false);
861var g = app.Option("-g|--global", "Global option", CommandOptionType.SingleValue, inherited: true);
864var n1 = s1.Option("--nest1", "Nested one level down", CommandOptionType.SingleValue, inherited: true);
867var n2 = s2.Option("--nest2", "Nested one level down", CommandOptionType.SingleValue, inherited: true);