Skip to content
Snippets Groups Projects
Commit 011503fc authored by Lasse Tjernaes Wardenaer's avatar Lasse Tjernaes Wardenaer
Browse files

Resolve "Update man page for cta-admin to describe how config file is found"

parent 992e41b9
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
### Features ### Features
- cta/CTA#211 - Add functionality for reading encrypted tapes with cta-readtp - cta/CTA#211 - Add functionality for reading encrypted tapes with cta-readtp
- cta/CTA#214 - Update manual page for cta-admin to include info about user defined config files.
# v4.7.14-1 # v4.7.14-1
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
cta-admin \- Administrative command interface for CTA tape system operators cta-admin \- Administrative command interface for CTA tape system operators
.SH SYNOPSIS .SH SYNOPSIS
\fBcta-admin\fP [--json] \fIcommand\fR [\fIsubcommand\fR] [\fIoptions\fR] \fBcta-admin\fP [--json] [--config] <path> \fIcommand\fR [\fIsubcommand\fR] [\fIoptions\fR]
.SH DESCRIPTION .SH DESCRIPTION
.P .P
...@@ -142,6 +142,12 @@ which are normally returned in plain text format, with one record per line. If t ...@@ -142,6 +142,12 @@ which are normally returned in plain text format, with one record per line. If t
supplied, the results are returned as an array of records in JSON format. This option is intended for supplied, the results are returned as an array of records in JSON format. This option is intended for
use by scripts to ease automated processing of results. use by scripts to ease automated processing of results.
.TP
--config
This option is intended for users who want to specify the location of the config file as an argument in the cli.
If the option is not provided, the script will look for the config file ~/.cta/cta-cli.conf. The default config file
/etc/cta/cta-cli.conf is used if the user does not provide one.
.SH CONFIGURATION .SH CONFIGURATION
The \fBcta-admin\fP configuration is specified in \fI/etc/cta/cta-cli.conf\fR. The following configuration The \fBcta-admin\fP configuration is specified in \fI/etc/cta/cta-cli.conf\fR. The following configuration
options are available: options are available:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment