mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
Merge branch 'master' into feature-1437
This commit is contained in:
commit
f9f277aa86
@ -1688,6 +1688,7 @@ SELF_SERVICE_PUBLIC_LOCALE_ZH_TW="src/cloud/occi/lib/ui/locale/languages/zh_TW.j
|
|||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
MAN_FILES="share/man/oneauth.1.gz \
|
MAN_FILES="share/man/oneauth.1.gz \
|
||||||
|
share/man/oneacct.1.gz \
|
||||||
share/man/oneacl.1.gz \
|
share/man/oneacl.1.gz \
|
||||||
share/man/onehost.1.gz \
|
share/man/onehost.1.gz \
|
||||||
share/man/oneimage.1.gz \
|
share/man/oneimage.1.gz \
|
||||||
|
@ -33,6 +33,7 @@ env.Man('econe-upload')
|
|||||||
env.Man('occi-compute')
|
env.Man('occi-compute')
|
||||||
env.Man('occi-network')
|
env.Man('occi-network')
|
||||||
env.Man('occi-storage')
|
env.Man('occi-storage')
|
||||||
|
env.Man('oneacct')
|
||||||
env.Man('oneacl')
|
env.Man('oneacl')
|
||||||
env.Man('oneauth')
|
env.Man('oneauth')
|
||||||
env.Man('onecluster')
|
env.Man('onecluster')
|
||||||
|
81
share/man/oneacct.1
Normal file
81
share/man/oneacct.1
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
.\" generated with Ronn/v0.7.3
|
||||||
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||||
|
.
|
||||||
|
.TH "ONEACCT" "1" "September 2012" "" "oneacct(1) -- OpenNebula Accountin Tool"
|
||||||
|
.
|
||||||
|
.SH "NAME"
|
||||||
|
\fBoneacct\fR
|
||||||
|
.
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
\fBoneacct\fR [\fIoptions\fR]
|
||||||
|
.
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.
|
||||||
|
.nf
|
||||||
|
|
||||||
|
\-s, \-\-start TIME Start date and time to take into account
|
||||||
|
\-e, \-\-end TIME End date and time
|
||||||
|
\-u, \-\-user user User name or id to filter the results
|
||||||
|
\-g, \-\-group group Group name or id to filter the results
|
||||||
|
\-H, \-\-host HOST Host name or id to filter the results
|
||||||
|
\-\-xpath XPATH_EXPRESSION Xpath expression to filter the results\. For example: oneacct \-\-xpath \'HISTORY[ETIME>0]\'
|
||||||
|
\-x, \-\-xml Show the resource in xml format
|
||||||
|
\-j, \-\-json Show the resource in xml format
|
||||||
|
\-\-split Split the output in a table for each VM
|
||||||
|
\-v, \-\-verbose Verbose mode
|
||||||
|
\-h, \-\-help Show this message
|
||||||
|
\-V, \-\-version Show version and copyright information
|
||||||
|
.
|
||||||
|
.fi
|
||||||
|
.
|
||||||
|
.SH "ARGUMENT FORMATS"
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
file
|
||||||
|
.
|
||||||
|
.IP "" 4
|
||||||
|
.
|
||||||
|
.nf
|
||||||
|
|
||||||
|
Path to a file
|
||||||
|
.
|
||||||
|
.fi
|
||||||
|
.
|
||||||
|
.IP "" 0
|
||||||
|
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
range
|
||||||
|
.
|
||||||
|
.IP "" 4
|
||||||
|
.
|
||||||
|
.nf
|
||||||
|
|
||||||
|
List of id\'s in the form 1,8\.\.15
|
||||||
|
.
|
||||||
|
.fi
|
||||||
|
.
|
||||||
|
.IP "" 0
|
||||||
|
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
text
|
||||||
|
.
|
||||||
|
.IP "" 4
|
||||||
|
.
|
||||||
|
.nf
|
||||||
|
|
||||||
|
String
|
||||||
|
.
|
||||||
|
.fi
|
||||||
|
.
|
||||||
|
.IP "" 0
|
||||||
|
|
||||||
|
.
|
||||||
|
.IP "" 0
|
||||||
|
.
|
||||||
|
.SH "LICENSE"
|
||||||
|
OpenNebula 3\.7\.0 Copyright 2002\-2012, OpenNebula Project Leads (OpenNebula\.org)
|
||||||
|
.
|
||||||
|
.P
|
||||||
|
Licensed under the Apache License, Version 2\.0 (the "License"); you may not use this file except in compliance with the License\. You may obtain a copy of the License at http://www\.apache\.org/licenses/LICENSE\-2\.0
|
@ -619,9 +619,9 @@ module CommandParser
|
|||||||
command[:desc].split("\n").each { |l|
|
command[:desc].split("\n").each { |l|
|
||||||
printf cmd_format10, l
|
printf cmd_format10, l
|
||||||
puts
|
puts
|
||||||
}
|
} if command[:desc]
|
||||||
|
|
||||||
unless command[:options].empty?
|
unless !command[:options] || command[:options].empty?
|
||||||
opts_str=command[:options].flatten.collect{|o|
|
opts_str=command[:options].flatten.collect{|o|
|
||||||
o[:name]
|
o[:name]
|
||||||
}.join(', ')
|
}.join(', ')
|
||||||
|
@ -27,7 +27,6 @@ class OneImageHelper < OpenNebulaHelper::OneHelper
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
:name => "description",
|
:name => "description",
|
||||||
:short => "-d description",
|
|
||||||
:large => "--description description",
|
:large => "--description description",
|
||||||
:format => String,
|
:format => String,
|
||||||
:description => "Description for the new Image"
|
:description => "Description for the new Image"
|
||||||
|
@ -38,7 +38,7 @@ cmd = CommandParser::CmdParser.new(ARGV) do
|
|||||||
version OpenNebulaHelper::ONE_VERSION
|
version OpenNebulaHelper::ONE_VERSION
|
||||||
|
|
||||||
|
|
||||||
option [AcctHelper::ACCT_OPTIONS + CommandParser::OPTIONS]
|
option AcctHelper::ACCT_OPTIONS + CommandParser::OPTIONS
|
||||||
|
|
||||||
main do
|
main do
|
||||||
filter_flag = (options[:user] || VirtualMachinePool::INFO_ALL)
|
filter_flag = (options[:user] || VirtualMachinePool::INFO_ALL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user