Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
Document astyle command line used to standardize
Browse files Browse the repository at this point in the history
code formatting
  • Loading branch information
Greg Smith authored and Greg Smith committed Feb 10, 2011
1 parent 5460517 commit c3af427
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ The repmgr daemon creates 2 connections: one to the master and another to the
standby.

Error codes
-----------
===========

When the repmgr or repmgrd program exits, it will set one of the
following
Expand Down Expand Up @@ -755,3 +755,13 @@ assignment and a disclaimer of any work-for-hire ownership claims from the
employer of the developer. This lets us make sure that all of the repmgr
distribution remains free code. Please contact info@2ndQuadrant.com for a
copy of the relevant Copyright Assignment Form.

Code style
----------

Code in repmgr is formatted to a consistent style using the following command::

astyle --style=ansi --indent=tab --suffix=none *.c *.h

Contributors should reformat their code similarly before submitting code to
the project, in order to minimize merge conflicts with other work.

0 comments on commit c3af427

Please sign in to comment.