News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Stupid little patch: manpage typo

Started by BentFX, September 27, 2011, 08:24:12 AM

Previous topic - Next topic

BentFX

I don't know the regular drill, but I've recently worked through how to capture a simple diff/patch file.

The last example in the Codeblocks manpage has a simple typo. It references a .cpp file, that the context would suggest was meant to be a .cbp file.

If someone would be interested in commiting the change it would make my first patch file seem just a little bit more special. Like I said I don't know the Codeblocks drill. I have worked with technical drawings and the system for tracking and documenting changes made the little changes like this, the most hateful thing, because the overhead of documenting it actually made the fix non-productive.

From within the trunk folder...
patch -p0 < manpage.patch

http://bentfx.com/manpage.patch

--- src/src/codeblocks.1 2011-09-26 06:59:41.700778880 -0700
+++ src/src/codeblocks.1.fixed 2011-09-26 07:03:11.188781482 -0700
@@ -57,7 +57,7 @@
.nf
codeblocks \-\-build \-\-target="Debug" \-\-no\-batch\-window\-close myproject.cbp

-Batch rebuild everything in myproject.cpp:
+Batch rebuild everything in myproject.cbp:
.nf
codeblocks \-\-rebuild myproject.cbp
.SH AUTHOR
Whenever I go to Walmart I always request an intrusive pat-down from the greeter. It looks good on his resume, and it makes us all just a little bit safer.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BentFX

#2
Quote from: oBFusCATed on September 27, 2011, 08:40:06 AM
It was already committed, yesterday.

http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1

rev7466

Thank you Sir!

and Thank You @MortenMacFly
Whenever I go to Walmart I always request an intrusive pat-down from the greeter. It looks good on his resume, and it makes us all just a little bit safer.