From 2cb6219fd089ca08e3d01224f0d5f8ce510523cc Mon Sep 17 00:00:00 2001 From: "Bastian M. Wojek" Date: Sun, 30 Jan 2011 20:53:59 +0000 Subject: [PATCH] Added an option "new" for output-file recreation to msr2data. This is present already in musrgui/musredit. Maybe the command-line users who do not know the "rm" shell command find it useful. --- src/msr2data.cpp | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/msr2data.cpp b/src/msr2data.cpp index e3fe2adf..cc881c92 100644 --- a/src/msr2data.cpp +++ b/src/msr2data.cpp @@ -79,19 +79,20 @@ bool isNumber(const string &s) */ void msr2data_syntax() { - cout << endl << "usage 1: msr2data [-o] [data] [[no]header] [nosummary] [global[+[!]]]"; + cout << endl << "usage 1: msr2data [-o] [new] [data] [[no]header] [nosummary] [global[+[!]]]"; cout << endl << " [fit [-k] [-t] | fit-