diff --git a/pom.xml b/pom.xml
index 9c238bf..635cfc6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
org.fross
rpncalc
- 5.2.1
+ 5.2.2
jar
rpncalc
diff --git a/snap/local/rpncalc-wrapper b/snap/local/rpncalc-wrapper
index 66d2d6a..864aca1 100755
--- a/snap/local/rpncalc-wrapper
+++ b/snap/local/rpncalc-wrapper
@@ -2,4 +2,4 @@
#
# Script is a wrapper which runs rpncalc in a bash script with the needed options
#
-exec $SNAP/bin/java -Djava.util.prefs.userRoot="$SNAP_USER_DATA" -Dorg.jline.terminal.dumb=true -jar $SNAP/jar/rpncalc.jar "$@"
+exec "$SNAP"/bin/java -Djava.util.prefs.userRoot="$SNAP_USER_DATA" -Dorg.jline.terminal.dumb=true -jar "$SNAP"/jar/rpncalc.jar "$@"
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index ac956a5..3f23f5f 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
name: rpncalc
-version: '5.2.1'
+version: '5.2.2'
summary: The command line Reverse Polish Notation (RPN) calculator
description: |
RPNCalc is an easy to use command line based Reverse Polish
diff --git a/src/main/java/org/fross/rpncalc/Configuration.java b/src/main/java/org/fross/rpncalc/Configuration.java
index 14012e6..9a93aaa 100644
--- a/src/main/java/org/fross/rpncalc/Configuration.java
+++ b/src/main/java/org/fross/rpncalc/Configuration.java
@@ -44,9 +44,9 @@ public static void cmdSet(String arg) {
// If there is not a parameter provided, display the current values and return
if (arg.isBlank()) {
Output.printColorln(Ansi.Color.YELLOW, "\n-Configuration Values" + "-".repeat(Main.configProgramWidth - 21));
- Output.printColorln(Ansi.Color.CYAN, "Width: " + Main.configProgramWidth + "\t| Sets the program width in characters");
- Output.printColorln(Ansi.Color.CYAN, "Align: " + Main.configAlignment + "\t| Set display alignment. Values: (l)eft, (d)ecimal, (r)ight");
- Output.printColorln(Ansi.Color.CYAN, "MemSlots: " + Main.configMemorySlots + "\t| Sets number of available memory slots");
+ Output.printColorln(Ansi.Color.CYAN, String.format("Width: %02d\t| Sets the program width in characters", Main.configProgramWidth));
+ Output.printColorln(Ansi.Color.CYAN, "Align: " + Main.configAlignment + "\t| Set display alignment. Values: (l)eft, (d)ecimal, (r)ight");
+ Output.printColorln(Ansi.Color.CYAN, String.format("MemSlots: %02d\t| Sets number of available memory slots", Main.configMemorySlots));
Output.printColorln(Ansi.Color.YELLOW, "-".repeat(Main.configProgramWidth) + "\n");
return;
}