[PATCH] sman: remove -comp option

2 views
Skip to first unread message

Qian Yun

unread,
Feb 21, 2026, 7:42:02 PM (2 days ago) Feb 21
to fricas-devel
I believe this option is not used and can be safely removed.

- Best,
- Qian


diff --git a/src/sman/sman.c b/src/sman/sman.c
index 0b59d79e..26033575 100644
--- a/src/sman/sman.c
+++ b/src/sman/sman.c
@@ -166,8 +166,6 @@ process_arguments(int argc,char ** argv)
start_spadclient = 0;
else if (strcmp(argv[arg], "-ws") == 0)
ws_path = argv[++arg];
- else if (strcmp(argv[arg], "-comp") == 0)
- ws_path = "$FRICAS/etc/images/comp";
else if (strcmp(argv[arg], "-nox") == 0)
{
use_X = 0;
@@ -217,7 +215,7 @@ process_arguments(int argc,char ** argv)
}
else {
fprintf(stderr, "Usage: sman <-clef|-noclef> \
-<-gr|-nogr> <-ht|-noht> <-iw|-noiw> <-nox> <-comp> <-ws spad_workspace> \
+<-gr|-nogr> <-ht|-noht> <-iw|-noiw> <-nox> <-ws spad_workspace> \
<-grprog path> <-htprog path> <-clefprog path> <-sessionprog path> \
<-clientprog path>\n");
exit(-1);

Waldek Hebisch

unread,
Feb 21, 2026, 8:27:36 PM (2 days ago) Feb 21
to fricas...@googlegroups.com
On Sun, Feb 22, 2026 at 08:41:57AM +0800, Qian Yun wrote:
> I believe this option is not used and can be safely removed.

Yes, thanks. Please commit.
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/0351bc0f-d34d-4fec-a8bf-297dbf490ce6%40gmail.com.

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages