Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--file", dest="phonelogfile",
action="store", required=True,
help="path to phone log file")
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--file", dest="smsxmlfile",
action="store", required=True,
help="path to sms xml backup file")
self._parser.add_argument(
"--ignore-incoming", dest="ignore_incoming",
action="store_true",
help="ignore incoming phonecalls")
self._parser.add_argument(
"--ignore-outgoing", dest="ignore_outgoing",
action="store_true",
help="ignore outgoing phonecalls")
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--file", dest="smsxmlfile",
action="store", required=True,
help="path to sms xml backup file")
self._parser.add_argument(
"--ignore-incoming", dest="ignore_incoming",
action="store_true",
help="ignore incoming phonecalls")
self._parser.add_argument(
"--ignore-outgoing", dest="ignore_outgoing",
action="store_true",
help="ignore outgoing phonecalls")
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--folder", dest="photo_folder",
action="store", required=True,
help="path to search for photos")
self._parser.add_argument("-l", "--follow-links",
dest="follow_links", action="store_true",
help="follow symbolics links," + \
" default False")
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--file", dest="msgstore",
action="store", type=open, required=True,
help="path to decrypted msgstore.db file")
self._parser.add_argument(
"--ignore-incoming", dest="ignore_incoming",
action="store_true", help="ignore received messages")
self._parser.add_argument(
"--ignore-outgoing", dest="ignore_outgoing",
action="store_true", help="ignore sent messages")
self._parser.add_argument(
"--ignore-groups", dest="ignore_groups",
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-b", "--battery", dest="name",
action="store", default="BAT0",
help="select battery to read stats from")
self._parser.add_argument(
"-p", "--path", dest="path",
action="store", default=ROOT,
help=argparse.SUPPRESS)
self._parser.add_argument(
"--output-format", dest="output_format",
action="store", default="{battery.name}",
help="format string to use for the output"
)
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--folder", dest="source",
action="store", required=True,
help="path to gpx file or folder")
self._parser.add_argument(
"-p", "--provider", dest="provider",
action="store", default="google",
help="geocode provider, default google")
self._parser.add_argument(
"-u", "--url", dest="url",
action="store", help="url to nominatim server (osm only)")
self._parser.add_argument(
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
"-f", "--file", dest="svnlogxmlfile",
action="store",
help="path to a an file which contains output from " + \
" following svn command: svn log --xml")
self._parser.add_argument(
"-g", "--grep-author", dest="grepauthor",
action="store",
help="if you wanna parse only messages from a specific person. " + \
"format: of author to grep")
def _parser_add_arguments(self):
"""
overwritten method of class Memacs
add additional arguments
"""
Memacs._parser_add_arguments(self)
self._parser.add_argument(
'--output-format', dest='output_format',
action='store', default='{title}',
help='formt string to use for the output'
)