i18n: update-server-info: mark parseopt strings for translation
[gitweb.git] / builtin / credential.c
index c185c07a2296e816f211a021ed0339a192dc0115..0412fa00f0c85af6e7d3b4f802d6aeecf0c1ae16 100644 (file)
@@ -19,10 +19,7 @@ int cmd_credential(int argc, const char **argv, const char *prefix)
 
        if (!strcmp(op, "fill")) {
                credential_fill(&c);
-               if (c.username)
-                       printf("username=%s\n", c.username);
-               if (c.password)
-                       printf("password=%s\n", c.password);
+               credential_write(&c, stdout);
        } else if (!strcmp(op, "approve")) {
                credential_approve(&c);
        } else if (!strcmp(op, "reject")) {