GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SVN::S4::Getopt(3) User Contributed Perl Documentation SVN::S4::Getopt(3)

SVN::S4::Getopt - Get Subversion command line options

  use SVN::S4::Getopt;
  my $opt = new SVN::S4::Getopt;
  ...
=head1 DESCRIPTION

The SVN::S4::Getopt package provides standardized handling of global options for the front of svn commands.

$opt = SVN::S4::Getopt->new ( opts )
Create a new Getopt.

There is a accessor for each parameter listed above. In addition:
$self->commands_sorted()
Return sorted list of all commands.
$self->command_arg_text(<cmd>)
Return textual description of the specified command.
$self->command_s4_addition(<cmd>)
Return true if the command is only in s4.
$self->command_s4_changed(<cmd>)
Return true if the command is modified from normal SVN operation by s4.
$self->fileline()
The filename and line number last parsed.
$self->formCmd(<cmd>, <opts>)
Return an array of command arguments needed to specify the given command with hash of given options. Hash elements with unsupported options are silently ignored.
$self->hashCmd(<cmd>, <opts>)
Return a hash with one key for each option. The value of the key is 1 if a no-argument option was set, else it is an array with each value the option was set to.
$self->parseCmd(<cmd>, <opts>)
Return a array with one element for each option. The element is either 'switch', the name of the switch the option is specifying, or the name of the parameter.
$self->stripOneArg(-<arg>, <opts>...)
Return the option list, with the specified matching argument removed.

The latest version is available from CPAN and from <http://www.veripool.org/>.

Copyright 2002-2016 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.

Wilson Snyder <wsnyder@wsnyder.org>

SVN::S4
2016-12-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.