From 960afaad7f1bc02b93a786fad6169ce970b5d5e7 Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Mon, 2 May 2016 12:27:57 +0200 Subject: [PATCH] Help: Improve 'cmake -E md5sum' documentation --- Help/manual/cmake.1.rst | 5 ++++- Source/cmcmd.cxx | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 0b060bcc5..3ae2bafc5 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -204,7 +204,10 @@ Available commands are: silently ignored. ``md5sum ...`` - Compute md5sum of files. + Create MD5 checksum of files in ``md5sum`` compatible format:: + + 351abe79cd3800b38cdfb25d45015a15 file1.txt + 052f86c15bbde68af55c7f7b340ab639 file2.txt ``remove [-f] ...`` Remove the file(s), use ``-f`` to force it. If a file does diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 22c6a0657..01b12a34a 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -70,7 +70,7 @@ void CMakeCommandUsage(const char* program) << " - run command in a modified environment\n" << " environment - display the current environment\n" << " make_directory ... - create parent and directories\n" - << " md5sum ... - compute md5sum of files\n" + << " md5sum ... - create MD5 checksum of files\n" << " remove [-f] ... - remove the file(s), use -f to force " "it\n" << " remove_directory dir - remove a directory and its contents\n"