Daniel Stenberg (12024-09-09): > What would you say the ideal way would be to set such an option on the > command line? Assuming we keep the current way the default for backwards > compatibility.
Hi. It seems to me the source code contains already quite a few protocol-specific options: https://github.com/curl/curl/blob/master/src/tool_getparam.c {"$q", "ftp-skip-pasv-ip", ARG_BOOL}, {"*V", "aws-sigv4", ARG_STRING}, {"$G", "delegation", ARG_STRING}, {"*e", "disable-epsv", ARG_BOOL}, Adding an extra option, maybe "mail-seen" would not be a betrayal. Other possibilities would be to use the URL query string or fragment string: imaps://$server/$folder?seen=false imaps://$server/$folder#seen=false Regards, -- Nicolas George -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html