From dea42e8d1ffab9bde5f5b764d6d2849b9af9eb29 Mon Sep 17 00:00:00 2001 From: Christian Hohnstaedt Date: Fri, 7 May 2021 22:08:34 +0200 Subject: [PATCH] Minor documentation update --- doc/rst/arguments.rst | 3 +++ doc/xca.1.options | 4 ++-- lib/arguments.cpp | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/rst/arguments.rst b/doc/rst/arguments.rst index 4296d9f7..5aced596 100644 --- a/doc/rst/arguments.rst +++ b/doc/rst/arguments.rst @@ -1,3 +1,6 @@ +.. + Automatically created by + XCA_SPECIAL=rst ./xca > doc/rst/arguments.rst --crlgen=ca-identifier Generate CRL for . Use the \'name\' option to set the internal name of the new CRL. [#need-db]_ --database=database File name (\*.xdb) of the SQLite database or a remote database descriptor\: [user\@host/TYPE\:dbname#prefix]. diff --git a/doc/xca.1.options b/doc/xca.1.options index 09a9c90d..1b442e6a 100644 --- a/doc/xca.1.options +++ b/doc/xca.1.options @@ -1,5 +1,5 @@ .TP -.B \-\-crlgen= * +.B \-\-crlgen= * Generate CRL for . Use the 'name' option to set the internal name of the new CRL. .TP .B \-\-database= @@ -29,7 +29,7 @@ Generate a new key and import it into the database. Use the 'name' option to set .B \-\-list-curves Prints all known Elliptic Curves. .TP -.B \-\-name= * +.B \-\-name= * Provides the name of new generated items. An automatic name will be generated if omitted. .TP .B \-\-no-gui diff --git a/lib/arguments.cpp b/lib/arguments.cpp index bcb84a62..e91e73cd 100644 --- a/lib/arguments.cpp +++ b/lib/arguments.cpp @@ -136,7 +136,10 @@ static QString esc(QString msg) QString arguments::rst() { - QString s = "\n"; + QString s = "..\n" +" Automatically created by\n" +" XCA_SPECIAL=rst ./xca > doc/rst/arguments.rst\n\n"; + QMap passdoc = getPassDoc(); int space = (maxOptWidth() + 4) * -1;