From 3fa1407c091f41188d2ec1ac0366efe7cf091ed2 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 6 Aug 2013 09:29:30 +0200 Subject: [PATCH] Removed extended text field. --- client/X11/generate_argument_docbook.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/client/X11/generate_argument_docbook.c b/client/X11/generate_argument_docbook.c index df1f90376..1c324acf9 100644 --- a/client/X11/generate_argument_docbook.c +++ b/client/X11/generate_argument_docbook.c @@ -147,14 +147,12 @@ int main(int argc, char *argv[]) const COMMAND_LINE_ARGUMENT_A *arg = &args[x]; fprintf(fp, "\t\t\t\n"); - fprintf(fp, "\t\t\t\t%s\n", tr_esc_str(arg->Name) ); - fprintf(fp, "\t\t\t\t\n"); if( COMMAND_LINE_VALUE_REQUIRED == arg->Flags ) - fprintf(fp, "\t\t\t\t\t%s %s\n", tr_esc_str(arg->Text), tr_esc_str(arg->Format)); + fprintf(fp, "\t\t\t\t/%s %s\n", tr_esc_str(arg->Name), tr_esc_str(arg->Format) ); else - fprintf(fp, "\t\t\t\t\t%s\n", tr_esc_str(arg->Text)); - if( NULL != arg->LongText ) - fprintf(fp, "\t\t\t\t\t%s\n", tr_esc_str(arg->LongText)); + fprintf(fp, "\t\t\t\t/%s\n", tr_esc_str(arg->Name) ); + fprintf(fp, "\t\t\t\t\n"); + fprintf(fp, "\t\t\t\t\t%s\n", tr_esc_str(arg->Text)); fprintf(fp, "\t\t\t\t\n"); fprintf(fp, "\t\t\t\n");