diff --git a/pigpio.3 b/pigpio.3
index 47e6a8a..e33dde6 100644
--- a/pigpio.3
+++ b/pigpio.3
@@ -10065,6 +10065,8 @@ A 16-bit word value.
.br
#define PI_DEFAULT_IF_FLAGS 0
.br
+#define PI_DEFAULT_FOREGROUND 0
+.br
#define PI_DEFAULT_DMA_CHANNEL 14
.br
#define PI_DEFAULT_DMA_PRIMARY_CHANNEL 14
diff --git a/pigpio.c b/pigpio.c
index 912f689..eacb301 100644
--- a/pigpio.c
+++ b/pigpio.c
@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to
*/
-/* pigpio version 57 */
+/* pigpio version 58 */
/* include ------------------------------------------------------- */
diff --git a/pigpio.h b/pigpio.h
index 978e6b5..d421744 100644
--- a/pigpio.h
+++ b/pigpio.h
@@ -31,7 +31,7 @@ For more information, please refer to
#include
#include
-#define PIGPIO_VERSION 57
+#define PIGPIO_VERSION 58
/*TEXT
diff --git a/pigpiod.1 b/pigpiod.1
index 188f352..e7fef5a 100644
--- a/pigpiod.1
+++ b/pigpiod.1
@@ -63,6 +63,11 @@ Disable fifo interface.
.
Default enabled
.
+.IP "\fB-g\fP"
+Run in foreground (do not fork).
+.
+Default disabled
+.
.IP "\fB-k\fP"
Disable local and remote socket interface.
.
diff --git a/pigpiod.c b/pigpiod.c
index 1789dac..989cf07 100644
--- a/pigpiod.c
+++ b/pigpiod.c
@@ -26,7 +26,7 @@ For more information, please refer to
*/
/*
-This version is for pigpio version 56+
+This version is for pigpio version 58+
*/
#include