From 9280ff2c747a5a59f0a6e0cc6335b24de62cacc9 Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Sat, 28 Dec 2024 12:41:18 +0100 Subject: Rename in file to diff file for restore --- src/options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/options.cpp') diff --git a/src/options.cpp b/src/options.cpp index ed6eec8..280d5c6 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -72,9 +72,9 @@ OptionsBackup::getOutFilePath() const } std::filesystem::path -OptionsRestore::getInFilePath() const +OptionsRestore::getDiffFilePath() const { - return in_file_path; + return diff_file_path; } std::filesystem::path @@ -90,7 +90,7 @@ OptionParser::printUsage() std::cout << " [-b BUFFER_SIZE] INFILE BASEFILE OUTFILE" << std::endl; std::cout << " Or: " << PROGRAM_NAME_STR << " restore [-s SECTOR_SIZE]"; - std::cout << "[-b BUFFER_SIZE] REFFILE OUTFILE" << std::endl; + std::cout << "[-b BUFFER_SIZE] DIFFFILE OUTFILE" << std::endl; std::cout << " Or: " << PROGRAM_NAME_STR << " help" << std::endl; } @@ -145,7 +145,7 @@ OptionParser::parseRestore(int argc, char **argv) } else if (argc > 2) { throw OptionError("too many arguments"); } else { - opts.in_file_path = next_arg(&argv); + opts.diff_file_path = next_arg(&argv); opts.out_file_path = next_arg(&argv); } -- cgit v1.2.3