We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d591fab commit 88a329bCopy full SHA for 88a329b
1 file changed
src/prm/commands/cmd_core.c
@@ -1,5 +1,6 @@
1
#include <stdio.h>
2
#include <stdlib.h>
3
+#include <string.h>
4
#include "../prm.h"
5
6
// --- Core ---
@@ -136,11 +137,19 @@ void prm_cache(const char* action) {
136
137
}
138
139
void prm_link(const char* packageName) {
- printf("Linking local package...\n");
140
+ if (packageName) {
141
+ printf("Linking local package '%s'...\n", packageName);
142
+ } else {
143
+ printf("Linking current package to global registry...\n");
144
+ }
145
146
147
void prm_unlink(const char* packageName) {
- printf("Unlinking package...\n");
148
149
+ printf("Unlinking package '%s'...\n", packageName);
150
151
+ printf("Unlinking current package from global registry...\n");
152
153
154
155
void prm_doc() {
0 commit comments