Unverified Commit eed5dd9d authored by Gavin Brown's avatar Gavin Brown
Browse files

documentation update etc

parent 8a4fe230
...@@ -126,7 +126,9 @@ This command creates a domain according to the parameters specified after the do ...@@ -126,7 +126,9 @@ This command creates a domain according to the parameters specified after the do
- `period PERIOD` - the registration period. Defaults to 1 year. - `period PERIOD` - the registration period. Defaults to 1 year.
- `registrant ID` - the registrant. - `registrant ID` - the registrant.
- `(admin|tech|billing) ID` - the admin contact - `admin ID` - the admin contact
- `tech ID` - the tech contact
- `billing ID` - the billing contact
- `ns HOST` - add a nameserver - `ns HOST` - add a nameserver
- `authInfo pw` - authInfo code. A random string will be used if not provided. - `authInfo pw` - authInfo code. A random string will be used if not provided.
......
...@@ -686,7 +686,7 @@ sub handle_help { ...@@ -686,7 +686,7 @@ sub handle_help {
'create' => 'SYNTAX/Creating Objects', 'create' => 'SYNTAX/Creating Objects',
'create-domain' => 'SYNTAX/Creating Objects/Creating Domain Objects', 'create-domain' => 'SYNTAX/Creating Objects/Creating Domain Objects',
'create-host' => 'SYNTAX/Creating Objects/Creating Host Objects', 'create-host' => 'SYNTAX/Creating Objects/Creating Host Objects',
'create-contact' => 'SYNTAX/Creating Objects/Creating Update Objects', 'create-contact' => 'SYNTAX/Creating Objects/Creating Contact Objects',
'edit' => 'SYNTAX/Miscellaneous Commands', 'edit' => 'SYNTAX/Miscellaneous Commands',
'cert' => 'SYNTAX/Connection Management', 'cert' => 'SYNTAX/Connection Management',
'key' => 'SYNTAX/Connection Management', 'key' => 'SYNTAX/Connection Management',
...@@ -697,6 +697,8 @@ sub handle_help { ...@@ -697,6 +697,8 @@ sub handle_help {
'update-contact' => 'SYNTAX/Object Updates/Contact Updates', 'update-contact' => 'SYNTAX/Object Updates/Contact Updates',
); );
print "\n";
pod2usage( pod2usage(
'-verbose' => 99, '-verbose' => 99,
'-sections' => $map{$cmd} || $map{'help'}, '-sections' => $map{$cmd} || $map{'help'},
...@@ -890,9 +892,6 @@ sub create_domain { ...@@ -890,9 +892,6 @@ sub create_domain {
$domain->{'period'} = 1 if ($domain->{'period'} < 1); $domain->{'period'} = 1 if ($domain->{'period'} < 1);
$domain->{'authInfo'} = generate_authinfo() if (length($domain->{'authInfo'}) < 1); $domain->{'authInfo'} = generate_authinfo() if (length($domain->{'authInfo'}) < 1);
use Data::Dumper;
print Dumper($domain);
return $epp->create_domain($domain); return $epp->create_domain($domain);
} }
...@@ -1360,7 +1359,11 @@ This command creates a domain according to the parameters specified after the do ...@@ -1360,7 +1359,11 @@ This command creates a domain according to the parameters specified after the do
=item C<registrant ID> - the registrant. =item C<registrant ID> - the registrant.
=item C<(admin|tech|billing) ID> - the admin contact =item C<admin ID> - the admin contact
=item C<tech ID> - the tech contact
=item C<billing ID> - the billing contact
=item C<ns HOST> - add a nameserver =item C<ns HOST> - add a nameserver
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment