aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-cli/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
index b930b107..eeff47c7 100644
--- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
+++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
@@ -233,7 +233,7 @@ public class Main {
if (cli.hasOption(CLI_ARG_POSITION_SHORT)) {
positionString = cli.getOptionValue(CLI_ARG_POSITION_SHORT);
} else {
- positionString = STANDARD_POSITION_STRING;
+ positionString = null;
}
String profilID = null;
@@ -355,6 +355,7 @@ public class Main {
signParameter.setSignaturePosition(positionString);
signParameter.setSignatureProfileId(profilID);
System.out.println("Starting signature for " + pdfFile);
+ System.out.println("Selected signature Profile " + profilID);
SignResult result = pdfAs.sign(signParameter);
FileOutputStream fos = new FileOutputStream(outputPdfFile, false);