31 Function to print some usage information. |
31 Function to print some usage information. |
32 |
32 |
33 It prints a reference of all commandline parameters that may |
33 It prints a reference of all commandline parameters that may |
34 be used and ends the application. |
34 be used and ends the application. |
35 """ |
35 """ |
36 print("eric6_api") |
36 print("eric7_api") |
37 print() |
37 print() |
38 print("Copyright (c) 2004 - 2021 Detlev Offenbach" |
38 print("Copyright (c) 2004 - 2021 Detlev Offenbach" |
39 " <detlev@die-offenbachs.de>.") |
39 " <detlev@die-offenbachs.de>.") |
40 print() |
40 print() |
41 print("Usage:") |
41 print("Usage:") |
42 print() |
42 print() |
43 print(" eric6_api [options] files...") |
43 print(" eric7_api [options] files...") |
44 print() |
44 print() |
45 print("where files can be either python modules, package") |
45 print("where files can be either python modules, package") |
46 print("directories or ordinary directories.") |
46 print("directories or ordinary directories.") |
47 print() |
47 print() |
48 print("Options:") |
48 print("Options:") |
121 "help", "ignore", "language=", "output=", "private", "recursive", |
121 "help", "ignore", "language=", "output=", "private", "recursive", |
122 "version", ]) |
122 "version", ]) |
123 except getopt.error: |
123 except getopt.error: |
124 usage() |
124 usage() |
125 |
125 |
126 excludeDirs = [".svn", ".hg", ".git", ".ropeproject", ".eric6project", |
126 excludeDirs = [".svn", ".hg", ".git", ".ropeproject", ".eric7project", |
127 "dist", "build", "doc", "docs"] |
127 "dist", "build", "doc", "docs"] |
128 excludePatterns = [] |
128 excludePatterns = [] |
129 outputFileName = "" |
129 outputFileName = "" |
130 recursive = False |
130 recursive = False |
131 basePackage = "" |
131 basePackage = "" |