File: spelling-error-in-manpage.patch

package info (click to toggle)
libgetopt-argparse-perl 1.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 356 kB
  • ctags: 100
  • sloc: perl: 1,133; makefile: 2
file content (67 lines) | stat: -rw-r--r-- 2,138 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Description: Correct spelling errors in manpage (lintian)
Author: Nick Morrott <knowledgejunkie@gmail.com>
Bug: https://rt.cpan.org/Ticket/Display.html?id=114817
Last-Update: 2016-05-30
---
--- a/lib/Getopt/ArgParse.pm
+++ b/lib/Getopt/ArgParse.pm
@@ -27,7 +27,7 @@
 =head1 NAME
 
 Getopt::ArgParse - Parsing command line arguments with a richer and
-more user-friendly API interface, similar to python's argpare but with
+more user-friendly API interface, similar to Python's argparse but with
 perlish extras.
 
 In particular, the modules provides the following features:
@@ -256,7 +256,7 @@
   );
 
 The object method, arg_arg or the longer version add_argument, defines
-the specfication of an argument. It accepts the following parameters.
+the specification of an argument. It accepts the following parameters.
 
 add_args or add_arguments() is to add multiple multiple arguments.
 
@@ -278,7 +278,7 @@
     # command line: prog --dry-run
     $parser->namespace->dry_run; # The option's name is dry_run
 
-A name or option strings are following by named paramters.
+A name or option strings are following by named parameters.
 
 =item * dest
 
@@ -343,7 +343,7 @@
 subroutine that validates input values.
 
 choices_i specifies a list of the allowable values for the argument,
-but case insenstive, and it doesn't allow to use a subroutine for
+but case insenstive, and it doesn't allow one to use a subroutine for
 validation.
 
 Either choices or chioces_i can be present or completely omitted, but
@@ -591,20 +591,20 @@
 
   $usage = $parser->format_usage;
 
-Return the formated usage message for the whole program in an array
+Return the formatted usage message for the whole program in an array
 reference.
 
 =head3 print_usage
 
    $parser->print_usage;
 
-Print the usage mesage returned by format_usage().
+Print the usage message returned by format_usage().
 
 =head3 format_command_usage
 
   $usage = $parser->format_command_usage($subcommand);
 
-Return the formated usage message for the command in an array
+Return the formatted usage message for the command in an array
 reference.
 
 =head3 print_command_usage