2
# LMirror is Copyright (C) 2010 Robert Collins <robertc@robertcollins.net>
4
# LMirror is free software: you can redistribute it and/or modify it under the
5
# terms of the GNU General Public License as published by the Free Software
6
# Foundation, either version 3 of the License, or (at your option) any later
9
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
10
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License along with
14
# this program. If not, see <http://www.gnu.org/licenses/>.
16
# In the LMirror source tree the file COPYING.txt contains the GNU General Public
20
"""An Argument that simply stores a string."""
22
__all__ = ['StringArgument']
24
from l_mirror.arguments import AbstractArgument
27
class StringArgument(AbstractArgument):
28
"""An argument that stores a string verbatim."""
30
def _parse_one(self, arg):